Enum file_rotate::TimeFrequency
source · pub enum TimeFrequency {
Hourly,
Daily,
Weekly,
Monthly,
Yearly,
}
Expand description
At which frequency to rotate the file.
Variants§
Hourly
Rotate every hour.
Daily
Rotate one time a day.
Weekly
Rotate ones a week.
Monthly
Rotate every month.
Yearly
Rotate yearly.
Trait Implementations§
source§impl Clone for TimeFrequency
impl Clone for TimeFrequency
source§fn clone(&self) -> TimeFrequency
fn clone(&self) -> TimeFrequency
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 TimeFrequency
impl Debug for TimeFrequency
impl Copy for TimeFrequency
Auto Trait Implementations§
impl Freeze for TimeFrequency
impl RefUnwindSafe for TimeFrequency
impl Send for TimeFrequency
impl Sync for TimeFrequency
impl Unpin for TimeFrequency
impl UnwindSafe for TimeFrequency
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