#[repr(C, packed(1))]pub struct Lifetime {
pub len: u16,
pub typ: SaExtType,
pub alloc: u32,
pub bytes: u64,
pub addtime: u64,
pub usetime: u64,
}Expand description
Lifetime information for a security association.
Fields§
§len: u16Length of this extension in 8-byte units.
typ: SaExtTypeThe type of this extension.
alloc: u32How many allocations this lifetime lasts for.
bytes: u64How many bytes this lifetime lasts for.
addtime: u64How long after creation this lifetime expires in seconds.
usetime: u64How long after first use this lifetime expires in seconds.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Lifetime
impl RefUnwindSafe for Lifetime
impl Send for Lifetime
impl Sync for Lifetime
impl Unpin for Lifetime
impl UnwindSafe for Lifetime
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more