#[repr(u8)]pub enum Tier {
Hot = 0,
Warm = 1,
Dormant = 2,
Cold = 3,
}Expand description
The four memory tiers defined in ADR-136.
This extends the 3-tier MemoryTier from rvm-types by adding the
Dormant tier that stores compressed reconstructable state.
Variants§
Hot = 0
Tier 0 – Hot: per-core SRAM or L1/L2 cache-resident. Always resident during partition execution.
Warm = 1
Tier 1 – Warm: cluster-shared DRAM.
Resident if cut_value + recency_score > eviction_threshold.
Dormant = 2
Tier 2 – Dormant: compressed storage in main memory. Stored as witness checkpoint + delta compression; reconstructed on demand.
Cold = 3
Tier 3 – Cold: RVF-backed archival on persistent storage. Accessed only during recovery or explicit restore. Never auto-promoted.
Implementations§
Trait Implementations§
impl Copy for Tier
impl Eq for Tier
Source§impl Ord for Tier
impl Ord for Tier
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Tier
impl PartialOrd for Tier
impl StructuralPartialEq for Tier
Auto Trait Implementations§
impl Freeze for Tier
impl RefUnwindSafe for Tier
impl Send for Tier
impl Sync for Tier
impl Unpin for Tier
impl UnsafeUnpin for Tier
impl UnwindSafe for Tier
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