pub enum LogRotation {
Daily,
Minutely,
Hourly,
Never,
}
Variants§
Trait Implementations§
Source§impl Clone for LogRotation
impl Clone for LogRotation
Source§fn clone(&self) -> LogRotation
fn clone(&self) -> LogRotation
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 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
impl From<LogRotation> for Rotation
Source§fn from(rotation: LogRotation) -> Self
fn from(rotation: LogRotation) -> Self
Converts to this type from the input type.
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