pub struct RpcServerMetricsSnapshot {Show 13 fields
pub connections_started: u64,
pub connections_ended: u64,
pub connections_ended_successfully: u64,
pub handshakes_completed: u64,
pub handshakes_failed: u64,
pub listener_connections_rejected: u64,
pub requests_started: u64,
pub requests_completed: u64,
pub requests_failed: u64,
pub requests_slow: u64,
pub response_send_failures: u64,
pub request_elapsed_total: Duration,
pub request_elapsed_max: Duration,
}Fields§
§connections_started: u64§connections_ended: u64§connections_ended_successfully: u64§handshakes_completed: u64§handshakes_failed: u64§listener_connections_rejected: u64§requests_started: u64§requests_completed: u64§requests_failed: u64§requests_slow: u64§response_send_failures: u64§request_elapsed_total: Duration§request_elapsed_max: DurationTrait Implementations§
Source§impl Clone for RpcServerMetricsSnapshot
impl Clone for RpcServerMetricsSnapshot
Source§fn clone(&self) -> RpcServerMetricsSnapshot
fn clone(&self) -> RpcServerMetricsSnapshot
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 moreSource§impl Debug for RpcServerMetricsSnapshot
impl Debug for RpcServerMetricsSnapshot
Source§impl Default for RpcServerMetricsSnapshot
impl Default for RpcServerMetricsSnapshot
Source§fn default() -> RpcServerMetricsSnapshot
fn default() -> RpcServerMetricsSnapshot
Returns the “default value” for a type. Read more
Source§impl PartialEq for RpcServerMetricsSnapshot
impl PartialEq for RpcServerMetricsSnapshot
Source§fn eq(&self, other: &RpcServerMetricsSnapshot) -> bool
fn eq(&self, other: &RpcServerMetricsSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RpcServerMetricsSnapshot
impl Eq for RpcServerMetricsSnapshot
impl StructuralPartialEq for RpcServerMetricsSnapshot
Auto Trait Implementations§
impl Freeze for RpcServerMetricsSnapshot
impl RefUnwindSafe for RpcServerMetricsSnapshot
impl Send for RpcServerMetricsSnapshot
impl Sync for RpcServerMetricsSnapshot
impl Unpin for RpcServerMetricsSnapshot
impl UnsafeUnpin for RpcServerMetricsSnapshot
impl UnwindSafe for RpcServerMetricsSnapshot
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