pub struct TierActivity {
pub promotions: u64,
pub demotions: u64,
pub cache_hit_rate: f64,
pub storage_backend: String,
pub promotions_to_hot: u64,
pub demotions_to_warm: u64,
pub demotions_to_cold: u64,
}Expand description
Tier movement activity counters.
Fields§
§promotions: u64Total promotions across all tiers.
demotions: u64Total demotions across all tiers.
cache_hit_rate: f64Overall cache hit rate.
storage_backend: StringActive storage backend name.
promotions_to_hot: u64Promotions specifically to the hot tier.
demotions_to_warm: u64Demotions specifically to warm.
demotions_to_cold: u64Demotions specifically to cold.
Trait Implementations§
Source§impl Clone for TierActivity
impl Clone for TierActivity
Source§fn clone(&self) -> TierActivity
fn clone(&self) -> TierActivity
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 TierActivity
impl Debug for TierActivity
Source§impl<'de> Deserialize<'de> for TierActivity
impl<'de> Deserialize<'de> for TierActivity
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 TierActivity
impl RefUnwindSafe for TierActivity
impl Send for TierActivity
impl Sync for TierActivity
impl Unpin for TierActivity
impl UnsafeUnpin for TierActivity
impl UnwindSafe for TierActivity
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