pub struct LogFileSizeRotation { /* private fields */ }Expand description
A log file writer that rotates files based on size or line count.
Implementations§
Source§impl LogFileSizeRotation
impl LogFileSizeRotation
pub fn new(config: SizeRotationConfig) -> Result<Self, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogFileSizeRotation
impl RefUnwindSafe for LogFileSizeRotation
impl Send for LogFileSizeRotation
impl Sync for LogFileSizeRotation
impl Unpin for LogFileSizeRotation
impl UnwindSafe for LogFileSizeRotation
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