pub struct ResidencyMetrics {
pub arena: ArenaMetrics,
pub uploads: UploadMetrics,
pub commands: CommandScratchMetrics,
pub machine: ResidencyMachineMetrics,
pub immutable_assets: ImmutableArenaMetrics,
}Expand description
Snapshot of all residency primitive counters.
Fields§
§arena: ArenaMetricsPage allocation counters.
uploads: UploadMetricsUpload staging counters.
commands: CommandScratchMetricsReusable command counters.
machine: ResidencyMachineMetricsResource lifecycle gauges and transitions.
immutable_assets: ImmutableArenaMetricsPhysical storage and traffic for immutable shared asset payloads.
Implementations§
Source§impl ResidencyMetrics
impl ResidencyMetrics
Sourcepub fn counters(self) -> ResidencyCounters
pub fn counters(self) -> ResidencyCounters
Flattens the detailed metrics without estimating missing values.
Trait Implementations§
Source§impl Clone for ResidencyMetrics
impl Clone for ResidencyMetrics
impl Copy for ResidencyMetrics
Source§impl Debug for ResidencyMetrics
impl Debug for ResidencyMetrics
Source§impl Default for ResidencyMetrics
impl Default for ResidencyMetrics
impl Eq for ResidencyMetrics
Source§impl PartialEq for ResidencyMetrics
impl PartialEq for ResidencyMetrics
impl StructuralPartialEq for ResidencyMetrics
Auto Trait Implementations§
impl Freeze for ResidencyMetrics
impl RefUnwindSafe for ResidencyMetrics
impl Send for ResidencyMetrics
impl Sync for ResidencyMetrics
impl Unpin for ResidencyMetrics
impl UnsafeUnpin for ResidencyMetrics
impl UnwindSafe for ResidencyMetrics
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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