pub struct InterfaceTelemetry {
pub cpu_load: Option<f64>,
pub mem_load: Option<f64>,
pub switch_id: Option<[u8; 4]>,
pub endpoint_id: Option<[u8; 8]>,
pub via_switch_id: Option<[u8; 4]>,
pub peers: Option<usize>,
}Fields§
§cpu_load: Option<f64>§mem_load: Option<f64>§switch_id: Option<[u8; 4]>§endpoint_id: Option<[u8; 8]>§via_switch_id: Option<[u8; 4]>§peers: Option<usize>Trait Implementations§
Source§impl Clone for InterfaceTelemetry
impl Clone for InterfaceTelemetry
Source§impl Debug for InterfaceTelemetry
impl Debug for InterfaceTelemetry
Source§impl Default for InterfaceTelemetry
impl Default for InterfaceTelemetry
Source§impl PartialEq for InterfaceTelemetry
impl PartialEq for InterfaceTelemetry
impl StructuralPartialEq for InterfaceTelemetry
Auto Trait Implementations§
impl Freeze for InterfaceTelemetry
impl RefUnwindSafe for InterfaceTelemetry
impl Send for InterfaceTelemetry
impl Sync for InterfaceTelemetry
impl Unpin for InterfaceTelemetry
impl UnsafeUnpin for InterfaceTelemetry
impl UnwindSafe for InterfaceTelemetry
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> InterfaceConfigData for Twhere
T: Send + 'static,
impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
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