pub struct SizeRotationConfig {
pub folder: PathBuf,
pub filename: String,
pub extension: String,
pub max_file_size: Option<u64>,
pub max_lines: Option<u64>,
pub max_files: u32,
}Expand description
Configuration for size-based log file rotation.
Fields§
§folder: PathBuf§filename: String§extension: String§max_file_size: Option<u64>§max_lines: Option<u64>§max_files: u32Auto Trait Implementations§
impl Freeze for SizeRotationConfig
impl RefUnwindSafe for SizeRotationConfig
impl Send for SizeRotationConfig
impl Sync for SizeRotationConfig
impl Unpin for SizeRotationConfig
impl UnwindSafe for SizeRotationConfig
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