pub struct LayeredPromotionReport {
pub events: u64,
pub promoted_layers: u64,
pub promoted_bytes: u64,
pub last_source_layer: u64,
pub last_promoted_layers: u64,
pub last_promoted_bytes: u64,
}Expand description
Layered-cache promotion evidence.
Fields§
§events: u64Number of lower-layer hit events that caused promotion.
promoted_layers: u64Total faster-layer writes caused by promotion.
promoted_bytes: u64Total artifact bytes copied into faster layers.
last_source_layer: u64Index of the most recent source layer that supplied a promoted hit.
last_promoted_layers: u64Number of faster layers written by the most recent promotion.
last_promoted_bytes: u64Artifact bytes copied by the most recent promotion.
Trait Implementations§
Source§impl Clone for LayeredPromotionReport
impl Clone for LayeredPromotionReport
Source§fn clone(&self) -> LayeredPromotionReport
fn clone(&self) -> LayeredPromotionReport
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 moreimpl Copy for LayeredPromotionReport
Source§impl Debug for LayeredPromotionReport
impl Debug for LayeredPromotionReport
Source§impl Default for LayeredPromotionReport
impl Default for LayeredPromotionReport
Source§fn default() -> LayeredPromotionReport
fn default() -> LayeredPromotionReport
Returns the “default value” for a type. Read more
impl Eq for LayeredPromotionReport
Source§impl PartialEq for LayeredPromotionReport
impl PartialEq for LayeredPromotionReport
Source§fn eq(&self, other: &LayeredPromotionReport) -> bool
fn eq(&self, other: &LayeredPromotionReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LayeredPromotionReport
Auto Trait Implementations§
impl Freeze for LayeredPromotionReport
impl RefUnwindSafe for LayeredPromotionReport
impl Send for LayeredPromotionReport
impl Sync for LayeredPromotionReport
impl Unpin for LayeredPromotionReport
impl UnsafeUnpin for LayeredPromotionReport
impl UnwindSafe for LayeredPromotionReport
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<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.