pub enum SelfHealingLogLevel {
Debug,
Info,
Warn,
Error,
}Expand description
Log level for self-healing diagnostic output.
Used to filter tracing events emitted by the self-healing subsystem
(hook auto-start, daemon hook-install). Read from
RCH_SELF_HEALING_LOG_LEVEL=debug|info|warn|error (case-insensitive).
Variants§
Implementations§
Source§impl SelfHealingLogLevel
impl SelfHealingLogLevel
Sourcepub fn from_env_str(s: &str) -> Option<Self>
pub fn from_env_str(s: &str) -> Option<Self>
Parse a human-friendly level name. Returns None for unknown input.
Trait Implementations§
Source§impl Clone for SelfHealingLogLevel
impl Clone for SelfHealingLogLevel
Source§fn clone(&self) -> SelfHealingLogLevel
fn clone(&self) -> SelfHealingLogLevel
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 SelfHealingLogLevel
impl Debug for SelfHealingLogLevel
Source§impl Default for SelfHealingLogLevel
impl Default for SelfHealingLogLevel
Source§fn default() -> SelfHealingLogLevel
fn default() -> SelfHealingLogLevel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SelfHealingLogLevel
impl<'de> Deserialize<'de> for SelfHealingLogLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SelfHealingLogLevel
impl PartialEq for SelfHealingLogLevel
Source§fn eq(&self, other: &SelfHealingLogLevel) -> bool
fn eq(&self, other: &SelfHealingLogLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SelfHealingLogLevel
impl Serialize for SelfHealingLogLevel
impl Copy for SelfHealingLogLevel
impl Eq for SelfHealingLogLevel
impl StructuralPartialEq for SelfHealingLogLevel
Auto Trait Implementations§
impl Freeze for SelfHealingLogLevel
impl RefUnwindSafe for SelfHealingLogLevel
impl Send for SelfHealingLogLevel
impl Sync for SelfHealingLogLevel
impl Unpin for SelfHealingLogLevel
impl UnsafeUnpin for SelfHealingLogLevel
impl UnwindSafe for SelfHealingLogLevel
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.