pub struct Layer { /* private fields */ }Expand description
Tracing configuration
Implementations§
Source§impl Layer
impl Layer
Sourcepub fn with_target(&self) -> bool
pub fn with_target(&self) -> bool
Should we trace the event target
Sourcepub fn with_thread_ids(&self) -> bool
pub fn with_thread_ids(&self) -> bool
Should we trace the thread id
Sourcepub fn with_thread_names(&self) -> bool
pub fn with_thread_names(&self) -> bool
Should we trace the thread names
Sourcepub fn with_line_number(&self) -> bool
pub fn with_line_number(&self) -> bool
Should we trace the line numbers
Sourcepub fn with_level(&self) -> bool
pub fn with_level(&self) -> bool
Should we trace the level
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Layer
impl<'de> Deserialize<'de> for Layer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Layer
impl StructuralPartialEq for Layer
Auto Trait Implementations§
impl Freeze for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnsafeUnpin for Layer
impl UnwindSafe for Layer
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