#[repr(C, packed(1))]pub struct Association {
pub len: u16,
pub typ: SaExtType,
pub spi: u32,
pub replay: u8,
pub state: SaState,
pub auth: SaAuthType,
pub encrypt: SaEncryptType,
pub flags: u32,
}
Expand description
Basic information about a security association.
Fields§
§len: u16
Length of this extension in 8-byte units.
typ: SaExtType
The type of this extension.
spi: u32
Security parameters index.
replay: u8
Replay window size.
state: SaState
State of the association.
auth: SaAuthType
Authentication type.
encrypt: SaEncryptType
Encryption type.
flags: u32
Optional flags.
Trait Implementations§
Source§impl Clone for Association
impl Clone for Association
Source§fn clone(&self) -> Association
fn clone(&self) -> Association
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Association
impl Debug for Association
Source§impl Default for Association
impl Default for Association
impl Copy for Association
Auto Trait Implementations§
impl Freeze for Association
impl RefUnwindSafe for Association
impl Send for Association
impl Sync for Association
impl Unpin for Association
impl UnwindSafe for Association
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