#[non_exhaustive]pub struct RouteMfcStats {
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 Clone for RouteMfcStats
impl Clone for RouteMfcStats
Source§fn clone(&self) -> RouteMfcStats
fn clone(&self) -> RouteMfcStats
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 RouteMfcStats
impl Debug for RouteMfcStats
Source§impl Emitable for RouteMfcStats
impl Emitable for RouteMfcStats
Source§impl<T: AsRef<[u8]>> Parseable<RouteMfcStatsBuffer<T>> for RouteMfcStats
impl<T: AsRef<[u8]>> Parseable<RouteMfcStatsBuffer<T>> for RouteMfcStats
type Error = DecodeError
Source§fn parse(buf: &RouteMfcStatsBuffer<T>) -> Result<RouteMfcStats, DecodeError>
fn parse(buf: &RouteMfcStatsBuffer<T>) -> Result<RouteMfcStats, DecodeError>
Deserialize the current type.
Source§impl PartialEq for RouteMfcStats
impl PartialEq for RouteMfcStats
impl Copy for RouteMfcStats
impl Eq for RouteMfcStats
impl StructuralPartialEq for RouteMfcStats
Auto Trait Implementations§
impl Freeze for RouteMfcStats
impl RefUnwindSafe for RouteMfcStats
impl Send for RouteMfcStats
impl Sync for RouteMfcStats
impl Unpin for RouteMfcStats
impl UnwindSafe for RouteMfcStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)