pub enum EventLevel {
Trace,
Debug,
Info,
Warn,
Error,
}Expand description
The severity of a telemetry event, mirrored onto the wire as a stable string.
Variants§
Trace
Fine-grained detail.
Debug
Diagnostic detail.
Info
A normal, noteworthy event.
Warn
Something unexpected the node recovered from.
Error
A failure that needs attention.
Trait Implementations§
Source§impl Clone for EventLevel
impl Clone for EventLevel
Source§fn clone(&self) -> EventLevel
fn clone(&self) -> EventLevel
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 moreimpl Copy for EventLevel
Source§impl Debug for EventLevel
impl Debug for EventLevel
Source§impl<'de> Deserialize<'de> for EventLevel
impl<'de> Deserialize<'de> for EventLevel
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 EventLevel
Source§impl From<Level> for EventLevel
impl From<Level> for EventLevel
Source§impl PartialEq for EventLevel
impl PartialEq for EventLevel
Source§fn eq(&self, other: &EventLevel) -> bool
fn eq(&self, other: &EventLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EventLevel
impl Serialize for EventLevel
impl StructuralPartialEq for EventLevel
Auto Trait Implementations§
impl Freeze for EventLevel
impl RefUnwindSafe for EventLevel
impl Send for EventLevel
impl Sync for EventLevel
impl Unpin for EventLevel
impl UnsafeUnpin for EventLevel
impl UnwindSafe for EventLevel
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