pub struct TickResult {
pub upgrades: u32,
pub downgrades: u32,
pub evictions: u32,
pub bytes_freed: usize,
pub ops_used: u32,
pub candidates_found: u32,
}Expand description
Summary of actions taken during a budgeted maintenance tick.
Fields§
§upgrades: u32Number of blocks promoted to a hotter tier.
downgrades: u32Number of blocks demoted to a colder tier.
evictions: u32Number of blocks evicted to Tier0.
bytes_freed: usizeTotal bytes freed by evictions and downgrades.
ops_used: u32Number of budget operations consumed.
candidates_found: u32Total migration candidates identified before budget limits.
Trait Implementations§
Source§impl Debug for TickResult
impl Debug for TickResult
Source§impl Default for TickResult
impl Default for TickResult
Source§fn default() -> TickResult
fn default() -> TickResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TickResult
impl RefUnwindSafe for TickResult
impl Send for TickResult
impl Sync for TickResult
impl Unpin for TickResult
impl UnsafeUnpin for TickResult
impl UnwindSafe for TickResult
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