pub struct ParticipantPumpDiagnostics {
pub pumps_run: u64,
pub reads_timed_out: u64,
}Expand description
What a participant handle’s quiet drains have done on its current connection, read without a lock and without touching the socket.
try_receive ends a quiet drain on
a transport fence, never on elapsed silence, so on a healthy connection
reads_timed_out stays at zero however many pumps run. A read window that
closes before the fence’s reply arrives is counted there. Both counts start
at zero when a connection is established and are not carried across a
reconnect.
Fields§
§pumps_run: u64Quiet drains run: each call to try_receive that reached the transport.
reads_timed_out: u64Socket reads inside those drains that ended because their read window closed with nothing to read.
Trait Implementations§
Source§impl Clone for ParticipantPumpDiagnostics
impl Clone for ParticipantPumpDiagnostics
impl Copy for ParticipantPumpDiagnostics
Source§impl Debug for ParticipantPumpDiagnostics
impl Debug for ParticipantPumpDiagnostics
Source§impl Default for ParticipantPumpDiagnostics
impl Default for ParticipantPumpDiagnostics
impl Eq for ParticipantPumpDiagnostics
impl StructuralPartialEq for ParticipantPumpDiagnostics
Auto Trait Implementations§
impl Freeze for ParticipantPumpDiagnostics
impl RefUnwindSafe for ParticipantPumpDiagnostics
impl Send for ParticipantPumpDiagnostics
impl Sync for ParticipantPumpDiagnostics
impl Unpin for ParticipantPumpDiagnostics
impl UnsafeUnpin for ParticipantPumpDiagnostics
impl UnwindSafe for ParticipantPumpDiagnostics
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.