pub struct MarconiSlotDecision {
pub slots: usize,
pub skip_reason: Option<&'static str>,
}Expand description
Outcome of the Marconi snapshot-slot decision.
skip_reason is Some only for the IMPLICIT skip (prefix caching
inactive) — never for an explicit --ssm-cache-slots 0 and never for an
ATLAS_SSM_MARCONI_FULL override — so the allocating call site can log
the savings exactly once.
Fields§
§slots: usize§skip_reason: Option<&'static str>Auto Trait Implementations§
impl Freeze for MarconiSlotDecision
impl RefUnwindSafe for MarconiSlotDecision
impl Send for MarconiSlotDecision
impl Sync for MarconiSlotDecision
impl Unpin for MarconiSlotDecision
impl UnwindSafe for MarconiSlotDecision
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