Struct netlink_packet_xfrm::user_sa_info::UserSaInfo
source · pub struct UserSaInfo {
pub selector: Selector,
pub id: Id,
pub saddr: Address,
pub lifetime_cfg: LifetimeConfig,
pub lifetime_cur: Lifetime,
pub stats: Stats,
pub seq: u32,
pub reqid: u32,
pub family: u16,
pub mode: u8,
pub replay_window: u8,
pub flags: u8,
}
Fields§
§selector: Selector
§id: Id
§saddr: Address
§lifetime_cfg: LifetimeConfig
§lifetime_cur: Lifetime
§stats: Stats
§seq: u32
§reqid: u32
§family: u16
§mode: u8
§replay_window: u8
§flags: u8
Implementations§
source§impl UserSaInfo
impl UserSaInfo
Trait Implementations§
source§impl Clone for UserSaInfo
impl Clone for UserSaInfo
source§fn clone(&self) -> UserSaInfo
fn clone(&self) -> UserSaInfo
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 UserSaInfo
impl Debug for UserSaInfo
source§impl Default for UserSaInfo
impl Default for UserSaInfo
source§fn default() -> UserSaInfo
fn default() -> UserSaInfo
Returns the “default value” for a type. Read more
source§impl Emitable for UserSaInfo
impl Emitable for UserSaInfo
source§impl<T: AsRef<[u8]> + ?Sized> Parseable<UserSaInfoBuffer<&T>> for UserSaInfo
impl<T: AsRef<[u8]> + ?Sized> Parseable<UserSaInfoBuffer<&T>> for UserSaInfo
source§fn parse(buf: &UserSaInfoBuffer<&T>) -> Result<Self, DecodeError>
fn parse(buf: &UserSaInfoBuffer<&T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq<UserSaInfo> for UserSaInfo
impl PartialEq<UserSaInfo> for UserSaInfo
source§fn eq(&self, other: &UserSaInfo) -> bool
fn eq(&self, other: &UserSaInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UserSaInfo
impl Eq for UserSaInfo
impl StructuralEq for UserSaInfo
impl StructuralPartialEq for UserSaInfo
Auto Trait Implementations§
impl RefUnwindSafe for UserSaInfo
impl Send for UserSaInfo
impl Sync for UserSaInfo
impl Unpin for UserSaInfo
impl UnwindSafe for UserSaInfo
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