Enum dropshot::ConfigLoggingIfExists
source · pub enum ConfigLoggingIfExists {
Fail,
Truncate,
Append,
}
Expand description
Specifies the behavior when logging to a file that already exists.
Variants§
Trait Implementations§
source§impl Clone for ConfigLoggingIfExists
impl Clone for ConfigLoggingIfExists
source§fn clone(&self) -> ConfigLoggingIfExists
fn clone(&self) -> ConfigLoggingIfExists
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 ConfigLoggingIfExists
impl Debug for ConfigLoggingIfExists
source§impl<'de> Deserialize<'de> for ConfigLoggingIfExists
impl<'de> Deserialize<'de> for ConfigLoggingIfExists
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ConfigLoggingIfExists
impl PartialEq for ConfigLoggingIfExists
source§fn eq(&self, other: &ConfigLoggingIfExists) -> bool
fn eq(&self, other: &ConfigLoggingIfExists) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ConfigLoggingIfExists
impl Serialize for ConfigLoggingIfExists
impl StructuralPartialEq for ConfigLoggingIfExists
Auto Trait Implementations§
impl RefUnwindSafe for ConfigLoggingIfExists
impl Send for ConfigLoggingIfExists
impl Sync for ConfigLoggingIfExists
impl Unpin for ConfigLoggingIfExists
impl UnwindSafe for ConfigLoggingIfExists
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