pub enum SpanSeverity {
Info,
Warning,
Error,
}Expand description
A span paired with a severity level, for diagnostics.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SpanSeverity
impl Clone for SpanSeverity
Source§fn clone(&self) -> SpanSeverity
fn clone(&self) -> SpanSeverity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpanSeverity
impl Debug for SpanSeverity
Source§impl PartialEq for SpanSeverity
impl PartialEq for SpanSeverity
impl StructuralPartialEq for SpanSeverity
Auto Trait Implementations§
impl Freeze for SpanSeverity
impl RefUnwindSafe for SpanSeverity
impl Send for SpanSeverity
impl Sync for SpanSeverity
impl Unpin for SpanSeverity
impl UnsafeUnpin for SpanSeverity
impl UnwindSafe for SpanSeverity
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