struct FileLogger {
directory: PathBuf,
file: Mutex<Option<File>>,
}Expand description
Appends records to the current file, rotating it when it grows too large.
Fields§
§directory: PathBuf§file: Mutex<Option<File>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for FileLogger
impl RefUnwindSafe for FileLogger
impl Send for FileLogger
impl Sync for FileLogger
impl Unpin for FileLogger
impl UnsafeUnpin for FileLogger
impl UnwindSafe for FileLogger
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