#[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: u16Length of this extension in 8-byte units.
typ: SaExtTypeThe type of this extension.
spi: u32Security parameters index.
replay: u8Replay window size.
state: SaStateState of the association.
auth: SaAuthTypeAuthentication type.
encrypt: SaEncryptTypeEncryption type.
flags: u32Optional 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