#[non_exhaustive]pub struct MfcStats {
pub packets: u64,
pub bytes: u64,
pub wrong_if: u64,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.packets: u64
§bytes: u64
§wrong_if: u64
Trait Implementations§
source§impl<T: AsRef<[u8]>> Parseable<MfcStatsBuffer<T>> for MfcStats
impl<T: AsRef<[u8]>> Parseable<MfcStatsBuffer<T>> for MfcStats
source§fn parse(buf: &MfcStatsBuffer<T>) -> Result<MfcStats, DecodeError>
fn parse(buf: &MfcStatsBuffer<T>) -> Result<MfcStats, DecodeError>
Deserialize the current type.
source§impl PartialEq<MfcStats> for MfcStats
impl PartialEq<MfcStats> for MfcStats
impl Copy for MfcStats
impl Eq for MfcStats
impl StructuralEq for MfcStats
impl StructuralPartialEq for MfcStats
Auto Trait Implementations§
impl RefUnwindSafe for MfcStats
impl Send for MfcStats
impl Sync for MfcStats
impl Unpin for MfcStats
impl UnwindSafe for MfcStats
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