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 for TerminalMode
impl PartialEq 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 ==
.impl Copy for TerminalMode
impl Eq for TerminalMode
impl StructuralPartialEq for TerminalMode
Auto Trait Implementations§
impl RefUnwindSafe for TerminalMode
impl Send for TerminalMode
impl Sync for TerminalMode
impl Unpin for TerminalMode
impl UnwindSafe for TerminalMode
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