pub enum DateFrom {
DateYesterday,
DateHourAgo,
Now,
}
Expand description
Add timestamp from:
Variants§
DateYesterday
Date yesterday, to represent the timestamps within the log file.
DateHourAgo
Date from hour ago, useful with rotate hourly.
Now
Date from now.
Auto Trait Implementations§
impl Freeze for DateFrom
impl RefUnwindSafe for DateFrom
impl Send for DateFrom
impl Sync for DateFrom
impl Unpin for DateFrom
impl UnwindSafe for DateFrom
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