Enum simplelog::ThreadLogMode
source · 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<ThreadLogMode> for ThreadLogMode
impl PartialEq<ThreadLogMode> for ThreadLogMode
source§fn eq(&self, other: &ThreadLogMode) -> bool
fn eq(&self, other: &ThreadLogMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.