Enum mod_logger::LogDestination
source · pub enum LogDestination {
Stdout,
Stderr,
Stream,
StreamStdout,
StreamStderr,
Buffer,
BufferStdout,
BufferStderr,
}
Variants§
Stdout
log to stdout
Stderr
log to stderr
Stream
log to an output file
StreamStdout
log to an output file and to stdout
StreamStderr
log to an output file and to stderr
Buffer
log to a memory buffer
BufferStdout
log to stdout and to a memory buffer
BufferStderr
log to stderr and to a memory buffer
Implementations§
Trait Implementations§
source§impl Clone for LogDestination
impl Clone for LogDestination
source§fn clone(&self) -> LogDestination
fn clone(&self) -> LogDestination
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 LogDestination
impl Debug for LogDestination
source§impl FromStr for LogDestination
impl FromStr for LogDestination
source§impl PartialEq for LogDestination
impl PartialEq for LogDestination
source§fn eq(&self, other: &LogDestination) -> bool
fn eq(&self, other: &LogDestination) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LogDestination
Auto Trait Implementations§
impl RefUnwindSafe for LogDestination
impl Send for LogDestination
impl Sync for LogDestination
impl Unpin for LogDestination
impl UnwindSafe for LogDestination
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