pub enum SpanLevel {
Trace,
Debug,
Info,
Warn,
Error,
}Expand description
Span severity level; maps directly to common tracing filters later.
Variants§
Trace
Trace-level span.
Debug
Debug-level span.
Info
Info-level span.
Warn
Warning-level span.
Error
Error-level span.
Trait Implementations§
impl Copy for SpanLevel
impl Eq for SpanLevel
impl StructuralPartialEq for SpanLevel
Auto Trait Implementations§
impl Freeze for SpanLevel
impl RefUnwindSafe for SpanLevel
impl Send for SpanLevel
impl Sync for SpanLevel
impl Unpin for SpanLevel
impl UnsafeUnpin for SpanLevel
impl UnwindSafe for SpanLevel
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<T> EffectHash for T
impl<T> EffectHash for T
Source§fn effect_hash(&self) -> u64
fn effect_hash(&self) -> u64
Returns a
u64 hash of self using the default hasher (Effect.ts-style single-value hash).Source§impl<T> Equal for T
impl<T> Equal for T
Source§fn effect_equals(&self, other: &Self) -> bool
fn effect_equals(&self, other: &Self) -> bool
Returns whether
self and other are structurally equal (defaults to PartialEq::eq).