pub enum LogDestination {
Stderr,
File(PathBuf),
Syslog,
}
Expand description
A destination that can be logged to, e.g. a file or the system log.
Variants§
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 moreSource§impl Debug for LogDestination
impl Debug for LogDestination
Source§impl PartialEq for LogDestination
impl PartialEq for LogDestination
impl Eq for LogDestination
impl StructuralPartialEq for LogDestination
Auto 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