#[non_exhaustive]pub enum RotationTrigger {
Healthy,
WarnApproachingLimit,
MustRotate,
}Expand description
DEK rotation trigger state.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Healthy
Healthy — threshold not yet reached.
WarnApproachingLimit
2^30 warn threshold reached — operator warning.
MustRotate
2^32 - cooldown — immediate rotation required (force).
Trait Implementations§
Source§impl Clone for RotationTrigger
impl Clone for RotationTrigger
Source§fn clone(&self) -> RotationTrigger
fn clone(&self) -> RotationTrigger
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 moreSource§impl Debug for RotationTrigger
impl Debug for RotationTrigger
Source§impl PartialEq for RotationTrigger
impl PartialEq for RotationTrigger
Source§fn eq(&self, other: &RotationTrigger) -> bool
fn eq(&self, other: &RotationTrigger) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RotationTrigger
impl Eq for RotationTrigger
impl StructuralPartialEq for RotationTrigger
Auto Trait Implementations§
impl Freeze for RotationTrigger
impl RefUnwindSafe for RotationTrigger
impl Send for RotationTrigger
impl Sync for RotationTrigger
impl Unpin for RotationTrigger
impl UnsafeUnpin for RotationTrigger
impl UnwindSafe for RotationTrigger
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