Enum pipe_logger_lib::RotateMethod
source · pub enum RotateMethod {
FileSize(u64),
}Expand description
The way to rotate log files.
Variants
FileSize(u64)
Rotate log files by a file size threshold in bytes.
Trait Implementations
sourceimpl Clone for RotateMethod
impl Clone for RotateMethod
sourcefn clone(&self) -> RotateMethod
fn clone(&self) -> RotateMethod
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RotateMethod
impl Debug for RotateMethod
sourceimpl Hash for RotateMethod
impl Hash for RotateMethod
sourceimpl PartialEq<RotateMethod> for RotateMethod
impl PartialEq<RotateMethod> for RotateMethod
sourcefn eq(&self, other: &RotateMethod) -> bool
fn eq(&self, other: &RotateMethod) -> bool
impl Copy for RotateMethod
impl Eq for RotateMethod
impl StructuralEq for RotateMethod
impl StructuralPartialEq for RotateMethod
Auto Trait Implementations
impl RefUnwindSafe for RotateMethod
impl Send for RotateMethod
impl Sync for RotateMethod
impl Unpin for RotateMethod
impl UnwindSafe for RotateMethod
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more