pub enum FileOpenStrategy {
Append,
Rotate,
}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§fn clone(&self) -> FileOpenStrategy
fn clone(&self) -> FileOpenStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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