pub enum LogDestination {
Stdout,
Stderr,
File(PathBuf),
Multiple(Vec<LogDestination>),
}
Expand description
Output destination for log entries
Variants§
Stdout
Output to stdout
Stderr
Output to stderr
File(PathBuf)
Output to a file
Multiple(Vec<LogDestination>)
Output to multiple destinations
Trait Implementations§
Source§impl Clone for LogDestination
impl Clone for LogDestination
Source§fn clone(&self) -> LogDestination
fn clone(&self) -> LogDestination
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for LogDestination
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