ExpertTier

Trait ExpertTier 

Source
pub trait ExpertTier: Send {
    // Required methods
    fn fetch(
        &mut self,
        key: ExpertKey,
        slot: ArenaSlot,
        stream: u64,
    ) -> Result<ExpertResidency>;
    fn kind(&self) -> TierKind;

    // Provided method
    fn healthy(&self) -> bool { ... }
}
Expand description

2026-09-25: Fetch an expert record into a slot and return its residency.

Required Methods§

Source

fn fetch( &mut self, key: ExpertKey, slot: ArenaSlot, stream: u64, ) -> Result<ExpertResidency>

Source

fn kind(&self) -> TierKind

Provided Methods§

Source

fn healthy(&self) -> bool

2026-09-25: Whether the tier can still serve fetches; the default is true.

Implementors§