pub enum ContextWarningLevel {
Normal,
Elevated,
Warning,
Critical,
}Expand description
Warning level for context usage.
Variants§
Normal
No warning needed
Elevated
Usage is elevated but not critical (60-80%)
Warning
Usage is high, should consider compacting (80-90%)
Critical
Usage is critical, action needed (>90%)
Trait Implementations§
Source§impl Clone for ContextWarningLevel
impl Clone for ContextWarningLevel
Source§fn clone(&self) -> ContextWarningLevel
fn clone(&self) -> ContextWarningLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContextWarningLevel
impl Debug for ContextWarningLevel
Source§impl Ord for ContextWarningLevel
impl Ord for ContextWarningLevel
Source§fn cmp(&self, other: &ContextWarningLevel) -> Ordering
fn cmp(&self, other: &ContextWarningLevel) -> Ordering
1.21.0 · 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 PartialEq for ContextWarningLevel
impl PartialEq for ContextWarningLevel
Source§impl PartialOrd for ContextWarningLevel
impl PartialOrd for ContextWarningLevel
impl Copy for ContextWarningLevel
impl Eq for ContextWarningLevel
impl StructuralPartialEq for ContextWarningLevel
Auto Trait Implementations§
impl Freeze for ContextWarningLevel
impl RefUnwindSafe for ContextWarningLevel
impl Send for ContextWarningLevel
impl Sync for ContextWarningLevel
impl Unpin for ContextWarningLevel
impl UnsafeUnpin for ContextWarningLevel
impl UnwindSafe for ContextWarningLevel
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