pub enum GuardPreset {
Interactive,
Background,
Watchdog,
}Expand description
Preset configurations for common guard use cases.
Presets provide sensible defaults for interval and sample duration. Explicit values always override preset defaults.
Variants§
Interactive
Short interval for interactive debugging (3s interval, 2s sample).
Background
Moderate interval for background monitoring (3m interval, 3s sample).
Watchdog
Long interval for lightweight watchdog (5m interval, 5s sample).
Implementations§
Source§impl GuardPreset
impl GuardPreset
Trait Implementations§
Source§impl Clone for GuardPreset
impl Clone for GuardPreset
impl Copy for GuardPreset
Source§impl Debug for GuardPreset
impl Debug for GuardPreset
impl Eq for GuardPreset
Source§impl PartialEq for GuardPreset
impl PartialEq for GuardPreset
impl StructuralPartialEq for GuardPreset
Auto Trait Implementations§
impl Forget for GuardPreset
impl Freeze for GuardPreset
impl Move for GuardPreset
impl RefUnwindSafe for GuardPreset
impl Send for GuardPreset
impl Sync for GuardPreset
impl Unpin for GuardPreset
impl UnsafeUnpin for GuardPreset
impl UnwindSafe for GuardPreset
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.