pub enum RotateOutcome {
Ok,
Locked,
Failed,
}Expand description
Outcome of an eb-keep-logs rotate exit code.
Variants§
Ok
Exit 0: the log tree was rotated.
Locked
Exit 75: another rotate of the tree held eb-keep-logs’ lock past
--lock-timeout, and this one changed nothing.
Failed
Any other exit code.
Trait Implementations§
Source§impl Clone for RotateOutcome
impl Clone for RotateOutcome
Source§fn clone(&self) -> RotateOutcome
fn clone(&self) -> RotateOutcome
Returns a duplicate of the value. Read more
1.0.0 · 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 RotateOutcome
impl Debug for RotateOutcome
Source§impl PartialEq for RotateOutcome
impl PartialEq for RotateOutcome
impl Copy for RotateOutcome
impl Eq for RotateOutcome
impl StructuralPartialEq for RotateOutcome
Auto Trait Implementations§
impl Freeze for RotateOutcome
impl RefUnwindSafe for RotateOutcome
impl Send for RotateOutcome
impl Sync for RotateOutcome
impl Unpin for RotateOutcome
impl UnwindSafe for RotateOutcome
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