pub struct HealthStatus {
pub rpc_url: String,
pub initial_block_height: u64,
pub final_block_height: u64,
pub rpc_latency: Duration,
pub observation_window: Duration,
pub total_elapsed: Duration,
}Expand description
Successful node-health measurements.
Fields§
§rpc_url: String§initial_block_height: u64§final_block_height: u64§rpc_latency: Duration§observation_window: Duration§total_elapsed: DurationImplementations§
Source§impl HealthStatus
impl HealthStatus
pub fn block_height_delta(&self) -> u64
Trait Implementations§
Source§impl Clone for HealthStatus
impl Clone for HealthStatus
Source§impl Debug for HealthStatus
impl Debug for HealthStatus
impl Eq for HealthStatus
Source§impl PartialEq for HealthStatus
impl PartialEq for HealthStatus
impl StructuralPartialEq for HealthStatus
Auto Trait Implementations§
impl Freeze for HealthStatus
impl RefUnwindSafe for HealthStatus
impl Send for HealthStatus
impl Sync for HealthStatus
impl Unpin for HealthStatus
impl UnsafeUnpin for HealthStatus
impl UnwindSafe for HealthStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.