pub struct RTStats {
pub address: Address,
pub state: RTState,
pub success_count: u32,
pub error_count: u32,
pub error_rate: f32,
pub is_responding: bool,
}Expand description
Statistics for a Remote Terminal
Fields§
§address: AddressAddress of the RT
state: RTStateCurrent state
success_count: u32Number of successful transactions
error_count: u32Number of failed transactions
error_rate: f32Error rate (0.0 to 1.0)
is_responding: boolWhether the RT is currently responding
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RTStats
impl RefUnwindSafe for RTStats
impl Send for RTStats
impl Sync for RTStats
impl Unpin for RTStats
impl UnwindSafe for RTStats
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