#[non_exhaustive]pub enum LogOutput {
Stdout,
Stderr,
File {
path: String,
},
}Expand description
Where log output is written.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Stdout
Write to standard output (default).
Stderr
Write to standard error.
File
Write to a file at the given path.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogOutput
impl<'de> Deserialize<'de> for LogOutput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LogOutput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LogOutput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LogOutput
impl StructuralPartialEq for LogOutput
Auto Trait Implementations§
impl Freeze for LogOutput
impl RefUnwindSafe for LogOutput
impl Send for LogOutput
impl Sync for LogOutput
impl Unpin for LogOutput
impl UnsafeUnpin for LogOutput
impl UnwindSafe for LogOutput
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