pub struct ChargeQuality {
pub deferred_charges: u64,
pub deferred_bytes: u64,
pub unattributed_charges: u64,
pub unattributed_bytes: u64,
pub unknown_charges: u64,
pub unknown_bytes: u64,
}Expand description
Registry charge evidence only; lifecycle completeness is tracked separately.
Fields§
§deferred_charges: u64Charges skipped because the registry was busy.
deferred_bytes: u64Bytes covered by those skipped charges.
unattributed_charges: u64Allocations observed without a task context.
unattributed_bytes: u64Bytes of those allocations.
unknown_charges: u64Captured allocation events with no charge outcome (legacy or external producers).
unknown_bytes: u64Bytes whose registry charge outcome was not captured.
Implementations§
Source§impl ChargeQuality
impl ChargeQuality
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
true when every observed allocation was charged to a task.
Trait Implementations§
Source§impl Clone for ChargeQuality
impl Clone for ChargeQuality
impl Copy for ChargeQuality
Source§impl Debug for ChargeQuality
impl Debug for ChargeQuality
Source§impl Default for ChargeQuality
impl Default for ChargeQuality
impl Eq for ChargeQuality
Source§impl PartialEq for ChargeQuality
impl PartialEq for ChargeQuality
Source§impl Serialize for ChargeQuality
impl Serialize for ChargeQuality
impl StructuralPartialEq for ChargeQuality
Auto Trait Implementations§
impl Forget for ChargeQuality
impl Freeze for ChargeQuality
impl RefUnwindSafe for ChargeQuality
impl Send for ChargeQuality
impl Sync for ChargeQuality
impl Unpin for ChargeQuality
impl UnsafeUnpin for ChargeQuality
impl UnwindSafe for ChargeQuality
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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