pub enum FileOpenStrategy {
Append,
Rotate,
}Expand description
The strategy used to open a log file when a TargetKind::Folder or TargetKind::LogDir target is set up.
Variants§
Append
Open existing file from last session and append, if any.
Rotate
Create a new file on each session start, rotating the last session if any.
Trait Implementations§
Source§impl Clone for FileOpenStrategy
impl Clone for FileOpenStrategy
Source§impl Debug for FileOpenStrategy
impl Debug for FileOpenStrategy
Source§impl PartialEq for FileOpenStrategy
impl PartialEq for FileOpenStrategy
impl StructuralPartialEq for FileOpenStrategy
Auto Trait Implementations§
impl Freeze for FileOpenStrategy
impl RefUnwindSafe for FileOpenStrategy
impl Send for FileOpenStrategy
impl Sync for FileOpenStrategy
impl Unpin for FileOpenStrategy
impl UnsafeUnpin for FileOpenStrategy
impl UnwindSafe for FileOpenStrategy
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