Enum simplelog::TerminalMode
source · pub enum TerminalMode {
Stdout,
Stderr,
Mixed,
}
Expand description
Specifies which streams should be used when logging
Variants§
Trait Implementations§
source§impl Clone for TerminalMode
impl Clone for TerminalMode
source§fn clone(&self) -> TerminalMode
fn clone(&self) -> TerminalMode
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 TerminalMode
impl Debug for TerminalMode
source§impl Default for TerminalMode
impl Default for TerminalMode
source§fn default() -> TerminalMode
fn default() -> TerminalMode
Returns the “default value” for a type. Read more
source§impl Hash for TerminalMode
impl Hash for TerminalMode
source§impl PartialEq<TerminalMode> for TerminalMode
impl PartialEq<TerminalMode> for TerminalMode
source§fn eq(&self, other: &TerminalMode) -> bool
fn eq(&self, other: &TerminalMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.