Struct netlink_packet_route::rtnl::route::nlas::MfcStatsBuffer
source · [−]pub struct MfcStatsBuffer<T> { /* private fields */ }
Implementations
sourceimpl<T: AsRef<[u8]>> MfcStatsBuffer<T>
impl<T: AsRef<[u8]>> MfcStatsBuffer<T>
pub fn new(buffer: T) -> Self
pub fn into_inner(self) -> T
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> MfcStatsBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> MfcStatsBuffer<T>
pub fn set_packets(&mut self, value: u64)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> MfcStatsBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> MfcStatsBuffer<T>
pub fn set_wrong_if(&mut self, value: u64)
sourceimpl<T: AsRef<[u8]>> MfcStatsBuffer<T>
impl<T: AsRef<[u8]>> MfcStatsBuffer<T>
pub fn new_checked(buffer: T) -> Result<Self, DecodeError>
Trait Implementations
sourceimpl<T: Clone> Clone for MfcStatsBuffer<T>
impl<T: Clone> Clone for MfcStatsBuffer<T>
sourcefn clone(&self) -> MfcStatsBuffer<T>
fn clone(&self) -> MfcStatsBuffer<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T: Debug> Debug for MfcStatsBuffer<T>
impl<T: Debug> Debug for MfcStatsBuffer<T>
sourceimpl<T: AsRef<[u8]>> Parseable<MfcStatsBuffer<T>> for MfcStats
impl<T: AsRef<[u8]>> Parseable<MfcStatsBuffer<T>> for MfcStats
sourcefn parse(buf: &MfcStatsBuffer<T>) -> Result<MfcStats, DecodeError>
fn parse(buf: &MfcStatsBuffer<T>) -> Result<MfcStats, DecodeError>
Deserialize the current type.
sourceimpl<T: PartialEq> PartialEq<MfcStatsBuffer<T>> for MfcStatsBuffer<T>
impl<T: PartialEq> PartialEq<MfcStatsBuffer<T>> for MfcStatsBuffer<T>
sourcefn eq(&self, other: &MfcStatsBuffer<T>) -> bool
fn eq(&self, other: &MfcStatsBuffer<T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MfcStatsBuffer<T>) -> bool
fn ne(&self, other: &MfcStatsBuffer<T>) -> bool
This method tests for !=
.
impl<T: Copy> Copy for MfcStatsBuffer<T>
impl<T: Eq> Eq for MfcStatsBuffer<T>
impl<T> StructuralEq for MfcStatsBuffer<T>
impl<T> StructuralPartialEq for MfcStatsBuffer<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for MfcStatsBuffer<T> where
T: RefUnwindSafe,
impl<T> Send for MfcStatsBuffer<T> where
T: Send,
impl<T> Sync for MfcStatsBuffer<T> where
T: Sync,
impl<T> Unpin for MfcStatsBuffer<T> where
T: Unpin,
impl<T> UnwindSafe for MfcStatsBuffer<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more