pub enum LogRotation {
Never,
Hourly,
Daily,
}Expand description
Log rotation frequency
Variants§
Trait Implementations§
Source§impl Clone for LogRotation
impl Clone for LogRotation
Source§fn clone(&self) -> LogRotation
fn clone(&self) -> LogRotation
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 LogRotation
impl Debug for LogRotation
Source§impl Default for LogRotation
impl Default for LogRotation
Source§fn default() -> LogRotation
fn default() -> LogRotation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LogRotation
impl<'de> Deserialize<'de> for LogRotation
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 From<LogRotation> for Rotation
Available on crate feature logging only.
impl From<LogRotation> for Rotation
Available on crate feature
logging only.Source§fn from(rotation: LogRotation) -> Self
fn from(rotation: LogRotation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LogRotation
impl PartialEq for LogRotation
impl Copy for LogRotation
impl Eq for LogRotation
impl StructuralPartialEq for LogRotation
Auto Trait Implementations§
impl Freeze for LogRotation
impl RefUnwindSafe for LogRotation
impl Send for LogRotation
impl Sync for LogRotation
impl Unpin for LogRotation
impl UnwindSafe for LogRotation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.