pub struct RouterHealth {
pub responsive: bool,
pub last_response: Option<Instant>,
pub error_count: u32,
pub performance_index: u8,
}Expand description
Router health information
Fields§
§responsive: boolRouter is responding
last_response: Option<Instant>Last response time
error_count: u32Error count
performance_index: u8Performance index
Trait Implementations§
Source§impl Clone for RouterHealth
impl Clone for RouterHealth
Source§fn clone(&self) -> RouterHealth
fn clone(&self) -> RouterHealth
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RouterHealth
impl RefUnwindSafe for RouterHealth
impl Send for RouterHealth
impl Sync for RouterHealth
impl Unpin for RouterHealth
impl UnsafeUnpin for RouterHealth
impl UnwindSafe for RouterHealth
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