pub enum LevelSpec<'a> {
Mask(LevelMask),
Name(&'a str),
}Expand description
Level input accepted by the logger.
Variants§
Trait Implementations§
Source§impl<'a> PartialEq for LevelSpec<'a>
impl<'a> PartialEq for LevelSpec<'a>
impl<'a> Copy for LevelSpec<'a>
impl<'a> Eq for LevelSpec<'a>
impl<'a> StructuralPartialEq for LevelSpec<'a>
Auto Trait Implementations§
impl<'a> Freeze for LevelSpec<'a>
impl<'a> RefUnwindSafe for LevelSpec<'a>
impl<'a> Send for LevelSpec<'a>
impl<'a> Sync for LevelSpec<'a>
impl<'a> Unpin for LevelSpec<'a>
impl<'a> UnsafeUnpin for LevelSpec<'a>
impl<'a> UnwindSafe for LevelSpec<'a>
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