pub enum Level {
Coarse = 1,
Detail = 2,
}
Expand description
The level at which the tracing item should be created.
It’s used to filter items early.
Variants§
Coarse = 1
A coarse-grained trace level, one that should span entire operations with low frequency.
Detail = 2
Finer grained trace level that further subdivides coarse-level traces.
Note that these should only be created for areas of the code which have significant cost.
Trait Implementations§
source§impl Ord for Level
impl Ord for Level
source§impl PartialOrd for Level
impl PartialOrd for Level
impl Copy for Level
impl Eq for Level
impl StructuralPartialEq for Level
Auto Trait Implementations§
impl Freeze for Level
impl RefUnwindSafe for Level
impl Send for Level
impl Sync for Level
impl Unpin for Level
impl UnwindSafe for Level
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)