pub enum LogSeverity {
Trace,
Debug,
Info,
Warn,
Error,
}Expand description
Severity attached to a mark that may be projected as an OpenTelemetry log.
Variants§
Trace
Fine-grained tracing information.
Debug
Diagnostic information useful during development.
Info
Normal informational event.
Warn
Potential problem that did not prevent the operation from continuing.
Error
Failure or error condition.
Implementations§
Trait Implementations§
Source§impl Clone for LogSeverity
impl Clone for LogSeverity
Source§fn clone(&self) -> LogSeverity
fn clone(&self) -> LogSeverity
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 LogSeverity
Source§impl Debug for LogSeverity
impl Debug for LogSeverity
Source§impl Default for LogSeverity
impl Default for LogSeverity
Source§fn default() -> LogSeverity
fn default() -> LogSeverity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LogSeverity
impl<'de> Deserialize<'de> for LogSeverity
Source§fn deserialize<D>(
deserializer: D,
) -> Result<LogSeverity, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<LogSeverity, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for LogSeverity
impl Display for LogSeverity
impl Eq for LogSeverity
Source§impl FromStr for LogSeverity
impl FromStr for LogSeverity
Source§type Err = ParseLogSeverityError
type Err = ParseLogSeverityError
The associated error which can be returned from parsing.
Source§fn from_str(value: &str) -> Result<LogSeverity, <LogSeverity as FromStr>::Err>
fn from_str(value: &str) -> Result<LogSeverity, <LogSeverity as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for LogSeverity
impl Hash for LogSeverity
Source§impl Ord for LogSeverity
impl Ord for LogSeverity
Source§fn cmp(&self, other: &LogSeverity) -> Ordering
fn cmp(&self, other: &LogSeverity) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LogSeverity
impl PartialEq for LogSeverity
Source§impl PartialOrd for LogSeverity
impl PartialOrd for LogSeverity
Source§impl Serialize for LogSeverity
impl Serialize for LogSeverity
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LogSeverity
Auto Trait Implementations§
impl Freeze for LogSeverity
impl RefUnwindSafe for LogSeverity
impl Send for LogSeverity
impl Sync for LogSeverity
impl Unpin for LogSeverity
impl UnsafeUnpin for LogSeverity
impl UnwindSafe for LogSeverity
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