Struct solana_client::tpu_connection::ClientStats
source · pub struct ClientStats {Show 14 fields
pub total_connections: AtomicU64,
pub connection_reuse: AtomicU64,
pub connection_errors: AtomicU64,
pub zero_rtt_accepts: AtomicU64,
pub zero_rtt_rejects: AtomicU64,
pub congestion_events: MovingStat,
pub streams_blocked_uni: MovingStat,
pub data_blocked: MovingStat,
pub acks: MovingStat,
pub make_connection_ms: AtomicU64,
pub send_timeout: AtomicU64,
pub send_packets_us: AtomicU64,
pub prepare_connection_us: AtomicU64,
pub successful_packets: AtomicU64,
}
Fields§
§total_connections: AtomicU64
§connection_reuse: AtomicU64
§connection_errors: AtomicU64
§zero_rtt_accepts: AtomicU64
§zero_rtt_rejects: AtomicU64
§congestion_events: MovingStat
§streams_blocked_uni: MovingStat
§data_blocked: MovingStat
§acks: MovingStat
§make_connection_ms: AtomicU64
§send_timeout: AtomicU64
§send_packets_us: AtomicU64
The time spent sending packets when packets are successfully sent. This include both time preparing for a connection (either obtaining from cache or create a new one in case of cache miss or connection error)
prepare_connection_us: AtomicU64
prepare_connection_us
differs from make_connection_ms
in that it accounts for the time spent
on obtaining a successful connection including time spent on retries when sending a packet.
successful_packets: AtomicU64
Count of packets successfully sent
Trait Implementations§
source§impl Default for ClientStats
impl Default for ClientStats
source§fn default() -> ClientStats
fn default() -> ClientStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ClientStats
impl Send for ClientStats
impl Sync for ClientStats
impl Unpin for ClientStats
impl UnwindSafe for ClientStats
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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