pub enum PaneRetentionOutcome {
WithinBudget,
PrunedToFit,
ConservativeHold,
FloorReached,
}Expand description
The outcome of applying a PaneRetentionPolicy.
Variants§
WithinBudget
Retained state was already within budget; nothing pruned.
PrunedToFit
Oldest history was pruned to bring retained state within budget.
ConservativeHold
Over budget, but conservative-debug mode held all state (nothing pruned).
FloorReached
Pruned to the minimum single retained unit, yet still over the byte budget — the deterministic floor. The live state is never discarded.
Implementations§
Trait Implementations§
Source§impl Clone for PaneRetentionOutcome
impl Clone for PaneRetentionOutcome
Source§fn clone(&self) -> PaneRetentionOutcome
fn clone(&self) -> PaneRetentionOutcome
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 PaneRetentionOutcome
Source§impl Debug for PaneRetentionOutcome
impl Debug for PaneRetentionOutcome
impl Eq for PaneRetentionOutcome
Source§impl PartialEq for PaneRetentionOutcome
impl PartialEq for PaneRetentionOutcome
Source§fn eq(&self, other: &PaneRetentionOutcome) -> bool
fn eq(&self, other: &PaneRetentionOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PaneRetentionOutcome
impl Serialize for PaneRetentionOutcome
impl StructuralPartialEq for PaneRetentionOutcome
Auto Trait Implementations§
impl Freeze for PaneRetentionOutcome
impl RefUnwindSafe for PaneRetentionOutcome
impl Send for PaneRetentionOutcome
impl Sync for PaneRetentionOutcome
impl Unpin for PaneRetentionOutcome
impl UnsafeUnpin for PaneRetentionOutcome
impl UnwindSafe for PaneRetentionOutcome
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