pub struct TimeRotationConfig {
pub folder: PathBuf,
pub filename: String,
pub extension: String,
pub rotation_duration: Duration,
pub cleanup_after: Duration,
}Expand description
Configuration for time-based log file rotation.
Fields§
§folder: PathBuf§filename: String§extension: String§rotation_duration: Duration§cleanup_after: DurationAuto Trait Implementations§
impl Freeze for TimeRotationConfig
impl RefUnwindSafe for TimeRotationConfig
impl Send for TimeRotationConfig
impl Sync for TimeRotationConfig
impl Unpin for TimeRotationConfig
impl UnwindSafe for TimeRotationConfig
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