pub struct WaitCounts {
pub action_count: Option<u64>,
pub explicit_action_count: Option<u64>,
pub planned_action_count: Option<u64>,
pub full_drain_count: Option<u64>,
pub partial_wait_count: Option<u64>,
pub drained_count: Option<u64>,
pub max_drained_count: Option<u64>,
pub max_outstanding_before: Option<u64>,
pub max_full_drain_outstanding_before: Option<u64>,
}Expand description
Structural wait evidence. Missing facts remain unknown.
Fields§
§action_count: Option<u64>Total wait actions.
explicit_action_count: Option<u64>Waits explicitly authored in source.
planned_action_count: Option<u64>Waits inserted by the compiler.
full_drain_count: Option<u64>Waits draining a counter completely.
partial_wait_count: Option<u64>Waits permitting some requests to remain outstanding.
drained_count: Option<u64>Total packets drained by these waits.
max_drained_count: Option<u64>Most packets drained by one wait.
max_outstanding_before: Option<u64>Maximum block-local outstanding packets before a wait.
max_full_drain_outstanding_before: Option<u64>Maximum block-local outstanding packets before a full drain.
Trait Implementations§
Source§impl Clone for WaitCounts
impl Clone for WaitCounts
Source§impl Debug for WaitCounts
impl Debug for WaitCounts
Source§impl Default for WaitCounts
impl Default for WaitCounts
Source§impl<'de> Deserialize<'de> for WaitCounts
impl<'de> Deserialize<'de> for WaitCounts
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WaitCounts
impl RefUnwindSafe for WaitCounts
impl Send for WaitCounts
impl Sync for WaitCounts
impl Unpin for WaitCounts
impl UnsafeUnpin for WaitCounts
impl UnwindSafe for WaitCounts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more