Enum LogSeverity
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
Severity attached to a mark that may be projected as an OpenTelemetry log.
Variants
Trace
Trace
Fine-grained tracing information.
Debug
Debug
Diagnostic information useful during development.
Info
Info
Normal informational event.
Warn
Warn
Potential problem that did not prevent the operation from continuing.
Error
Error
Failure or error condition.
Implementations
impl LogSeverity
impl LogSeverity
as_str
pub const fn as_str(self) -> &'static str
Return the canonical lowercase wire value.
Trait Implementations
impl Clone for LogSeverity
impl Clone for LogSeverity
clone
fn clone(&self) -> LogSeverity
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for LogSeverity
impl Debug for LogSeverity
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl Default for LogSeverity
impl Default for LogSeverity
default
fn default() -> LogSeverity
impl<'de> Deserialize<'de> for LogSeverity
impl<'de> Deserialize<'de> for LogSeverity
deserialize
fn deserialize<D>(
deserializer: D,
) -> Result<LogSeverity, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
impl Display for LogSeverity
impl Display for LogSeverity
fmt
fn fmt(&self, formatter: &mut Formatter<'_>) -> Result<(), Error>
impl FromStr for LogSeverity
impl FromStr for LogSeverity
Err
type Err = ParseLogSeverityError
from_str
fn from_str(value: &str) -> Result<LogSeverity, <LogSeverity as FromStr>::Err>
impl Hash for LogSeverity
impl Hash for LogSeverity
hash
fn hash<__H>(&self, state: &mut __H)where
__H: Hasher,
hash_slice
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Self: Sized,
impl Ord for LogSeverity
impl Ord for LogSeverity
cmp
fn cmp(&self, other: &LogSeverity) -> Ordering
max
fn max(self, other: Self) -> Selfwhere
Self: Sized,
min
fn min(self, other: Self) -> Selfwhere
Self: Sized,
clamp
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized,
impl PartialEq for LogSeverity
impl PartialEq for LogSeverity
eq
fn eq(&self, other: &LogSeverity) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl PartialOrd for LogSeverity
impl PartialOrd for LogSeverity
partial_cmp
fn partial_cmp(&self, other: &LogSeverity) -> Option<Ordering>
lt
fn lt(&self, other: &Rhs) -> bool
le
fn le(&self, other: &Rhs) -> bool
gt
fn gt(&self, other: &Rhs) -> bool
ge
fn ge(&self, other: &Rhs) -> bool
impl Serialize for LogSeverity
impl Serialize for LogSeverity
serialize
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
impl Copy for LogSeverity
impl Copy for LogSeverity
impl Eq for LogSeverity
impl Eq for LogSeverity
impl StructuralPartialEq for LogSeverity
impl StructuralPartialEq for LogSeverity