pub struct RelayFailures {
pub no_measurement: Option<u32>,
pub insufficient_period: Option<u32>,
pub insufficient_measurements: Option<u32>,
pub stale: Option<u32>,
}Expand description
Summary of relay measurement failures by category.
This struct breaks down the reasons why relays could not be successfully measured during the data period.
Fields§
§no_measurement: Option<u32>Relays with no successful measurements at all.
insufficient_period: Option<u32>Relays whose measurements were collected over too short a period.
insufficient_measurements: Option<u32>Relays with too few measurements (typically less than 2).
stale: Option<u32>Relays whose latest measurement is too old (typically over 5 days).
Trait Implementations§
Source§impl Clone for RelayFailures
impl Clone for RelayFailures
Source§fn clone(&self) -> RelayFailures
fn clone(&self) -> RelayFailures
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 moreSource§impl Debug for RelayFailures
impl Debug for RelayFailures
Source§impl Default for RelayFailures
impl Default for RelayFailures
Source§fn default() -> RelayFailures
fn default() -> RelayFailures
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RelayFailures
impl RefUnwindSafe for RelayFailures
impl Send for RelayFailures
impl Sync for RelayFailures
impl Unpin for RelayFailures
impl UnwindSafe for RelayFailures
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