Enum routinator::config::LogTarget
source · pub enum LogTarget {
Default(Facility),
Syslog(Facility),
Stderr,
File(PathBuf),
}
Expand description
The target to log to.
Variants§
Default(Facility)
Default.
Logs to Syslog(facility)
in daemon mode and Stderr
otherwise.
Syslog(Facility)
Syslog.
The argument is the syslog facility to use.
Stderr
Stderr.
File(PathBuf)
A file.
The argument is the file name.
Trait Implementations§
source§impl PartialEq for LogTarget
impl PartialEq for LogTarget
impl Eq for LogTarget
Auto Trait Implementations§
impl RefUnwindSafe for LogTarget
impl Send for LogTarget
impl Sync for LogTarget
impl Unpin for LogTarget
impl UnwindSafe for LogTarget
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.