Struct netlink_packet_xfrm::stats::Stats
source · pub struct Stats {
pub replay_window: u32,
pub replay: u32,
pub integrity_failed: u32,
}
Fields§
§replay_window: u32
§replay: u32
§integrity_failed: u32
Trait Implementations§
source§impl<T: AsRef<[u8]>> Parseable<StatsBuffer<T>> for Stats
impl<T: AsRef<[u8]>> Parseable<StatsBuffer<T>> for Stats
source§fn parse(buf: &StatsBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &StatsBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq<Stats> for Stats
impl PartialEq<Stats> for Stats
impl Copy for Stats
impl Eq for Stats
impl StructuralEq for Stats
impl StructuralPartialEq for Stats
Auto Trait Implementations§
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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