#[repr(C)]pub struct oc_stats {
pub tx_pkts: u64,
pub tx_bytes: u64,
pub rx_pkts: u64,
pub rx_bytes: u64,
}Fields§
§tx_pkts: u64§tx_bytes: u64§rx_pkts: u64§rx_bytes: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for oc_stats
impl RefUnwindSafe for oc_stats
impl Send for oc_stats
impl Sync for oc_stats
impl Unpin for oc_stats
impl UnwindSafe for oc_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