pub struct SingleInterfaceStat {Show 25 fields
pub id: u64,
pub name: String,
pub status: bool,
pub mode: u8,
pub rxb: u64,
pub txb: u64,
pub rx_packets: u64,
pub tx_packets: u64,
pub bitrate: Option<u64>,
pub ifac_size: Option<usize>,
pub started: f64,
pub ia_freq: f64,
pub oa_freq: f64,
pub ip_freq: f64,
pub op_freq: f64,
pub op_samples: usize,
pub burst_active: bool,
pub burst_activated: f64,
pub pr_burst_active: bool,
pub pr_burst_activated: f64,
pub clients: Option<u64>,
pub announce_rate_target: Option<f64>,
pub announce_rate_grace: u32,
pub announce_rate_penalty: f64,
pub interface_type: String,
}Expand description
Statistics for a single interface.
Fields§
§id: u64§name: String§status: bool§mode: u8§rxb: u64§txb: u64§rx_packets: u64§tx_packets: u64§bitrate: Option<u64>§ifac_size: Option<usize>§started: f64§ia_freq: f64Incoming announce frequency (per second).
oa_freq: f64Outgoing announce frequency (per second).
ip_freq: f64Incoming path request frequency (per second).
op_freq: f64Outgoing path request frequency (per second).
op_samples: usizeOutgoing path request samples currently retained.
burst_active: boolWhether announce ingress-control burst limiting is currently active.
burst_activated: f64Timestamp when announce ingress-control burst limiting activated.
pr_burst_active: boolWhether path-request ingress-control burst limiting is currently active.
pr_burst_activated: f64Timestamp when path-request burst limiting activated.
clients: Option<u64>Connected client count for aggregate server interfaces, if reported.
announce_rate_target: Option<f64>Target interval for outgoing announce rate control, in seconds.
announce_rate_grace: u32Announce-rate control grace count.
announce_rate_penalty: f64Announce-rate control penalty, in seconds.
interface_type: StringHuman-readable interface type string (e.g. “TCPClientInterface”).
Trait Implementations§
Source§impl Clone for SingleInterfaceStat
impl Clone for SingleInterfaceStat
Source§fn clone(&self) -> SingleInterfaceStat
fn clone(&self) -> SingleInterfaceStat
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for SingleInterfaceStat
impl RefUnwindSafe for SingleInterfaceStat
impl Send for SingleInterfaceStat
impl Sync for SingleInterfaceStat
impl Unpin for SingleInterfaceStat
impl UnsafeUnpin for SingleInterfaceStat
impl UnwindSafe for SingleInterfaceStat
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
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>
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>
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