#[non_exhaustive]pub struct StateSize {
pub periods: usize,
pub requests: usize,
pub inflight: usize,
pub parked: usize,
pub failures: usize,
pub done: usize,
pub inits: usize,
pub reps: usize,
pub queued: usize,
pub outputs: usize,
pub live: usize,
pub track_identities: usize,
}Expand description
The sizes of a DashClient’s bookkeeping, see DashClient::state_size.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.periods: usizePeriod runs held (finished ones are dropped).
requests: usizeResources with a request on record.
inflight: usizeRequests awaiting an answer.
parked: usizeFailed resources awaiting the caller’s retry.
failures: usizeResources with a consecutive-failure count.
done: usizeDelivered resources remembered for duplicate detection.
inits: usizeInitialization Segments held.
reps: usizeRepresentations indexed.
queued: usizeFetches queued for the next poll.
outputs: usizeOutputs not yet drained.
live: usizeLive-only bookkeeping entries (early waits, missing-segment flags).
track_identities: usizeTrack identities holding an allocated TrackId range (current and previous Period only).
Trait Implementations§
impl Copy for StateSize
impl Eq for StateSize
impl StructuralPartialEq for StateSize
Auto Trait Implementations§
impl Freeze for StateSize
impl RefUnwindSafe for StateSize
impl Send for StateSize
impl Sync for StateSize
impl Unpin for StateSize
impl UnsafeUnpin for StateSize
impl UnwindSafe for StateSize
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