pub struct TieringStats {
pub hot_objects: usize,
pub warm_objects: usize,
pub cold_objects: usize,
pub hot_bytes: u64,
pub warm_bytes: u64,
pub cold_bytes: u64,
pub promotions: u64,
pub demotions: u64,
pub total_cost_per_hour: f64,
}Expand description
Aggregate statistics for the tiering engine.
Fields§
§hot_objects: usizeNumber of objects currently in the Hot tier.
warm_objects: usizeNumber of objects currently in the Warm tier.
cold_objects: usizeNumber of objects currently in the Cold tier.
hot_bytes: u64Total bytes in the Hot tier.
warm_bytes: u64Total bytes in the Warm tier.
cold_bytes: u64Total bytes in the Cold tier.
promotions: u64Total number of promotions performed (demotion → hotter tier).
demotions: u64Total number of demotions performed (hotter → colder tier).
total_cost_per_hour: f64Sum of cost_per_hour across all managed objects.
Trait Implementations§
Source§impl Clone for TieringStats
impl Clone for TieringStats
Source§fn clone(&self) -> TieringStats
fn clone(&self) -> TieringStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TieringStats
impl Debug for TieringStats
Source§impl Default for TieringStats
impl Default for TieringStats
Source§fn default() -> TieringStats
fn default() -> TieringStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TieringStats
impl RefUnwindSafe for TieringStats
impl Send for TieringStats
impl Sync for TieringStats
impl Unpin for TieringStats
impl UnsafeUnpin for TieringStats
impl UnwindSafe for TieringStats
Blanket Implementations§
impl<T> Allocation for T
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<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