pub struct InterfaceStatsResponse {
pub interfaces: Vec<SingleInterfaceStat>,
pub transport_id: Option<[u8; 16]>,
pub transport_enabled: bool,
pub transport_uptime: f64,
pub total_rxb: u64,
pub total_txb: u64,
pub probe_responder: Option<[u8; 16]>,
}Expand description
Interface statistics response.
Fields§
§interfaces: Vec<SingleInterfaceStat>§transport_id: Option<[u8; 16]>§transport_enabled: bool§transport_uptime: f64§total_rxb: u64Total received bytes across all interfaces.
total_txb: u64Total transmitted bytes across all interfaces.
probe_responder: Option<[u8; 16]>Probe responder destination hash (if enabled).
Trait Implementations§
Source§impl Clone for InterfaceStatsResponse
impl Clone for InterfaceStatsResponse
Source§fn clone(&self) -> InterfaceStatsResponse
fn clone(&self) -> InterfaceStatsResponse
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for InterfaceStatsResponse
impl RefUnwindSafe for InterfaceStatsResponse
impl Send for InterfaceStatsResponse
impl Sync for InterfaceStatsResponse
impl Unpin for InterfaceStatsResponse
impl UnsafeUnpin for InterfaceStatsResponse
impl UnwindSafe for InterfaceStatsResponse
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more