pub enum ThreadLogMode {
IDs,
Names,
Both,
}
Expand description
Mode for logging the thread name or id or both.
Variants§
IDs
Log thread ids only
Names
Log the thread names only
Both
If this thread is named, log the name. Otherwise, log the thread id.
Trait Implementations§
Source§impl Clone for ThreadLogMode
impl Clone for ThreadLogMode
Source§fn clone(&self) -> ThreadLogMode
fn clone(&self) -> ThreadLogMode
Returns a copy 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 ThreadLogMode
impl Debug for ThreadLogMode
Source§impl PartialEq for ThreadLogMode
impl PartialEq for ThreadLogMode
impl Copy for ThreadLogMode
impl StructuralPartialEq for ThreadLogMode
Auto Trait Implementations§
impl Freeze for ThreadLogMode
impl RefUnwindSafe for ThreadLogMode
impl Send for ThreadLogMode
impl Sync for ThreadLogMode
impl Unpin for ThreadLogMode
impl UnwindSafe for ThreadLogMode
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