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
impl Copy for SelfHealingLogLevel
Source§impl Debug for SelfHealingLogLevel
impl Debug for SelfHealingLogLevel
Source§impl Default for SelfHealingLogLevel
impl Default for SelfHealingLogLevel
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
impl Eq for SelfHealingLogLevel
Source§impl PartialEq for SelfHealingLogLevel
impl PartialEq for SelfHealingLogLevel
Source§impl Serialize for SelfHealingLogLevel
impl Serialize 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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.