pub enum Recovery {
Recover,
Abandon,
}
Expand description
Determines whether to recover a segment or not.
Variants§
Recover
Recover the segment.
Abandon
Abandon the segment and any entries stored within it. Warning: This means losing data that was previously written to the log. This should rarely, if ever, be done.
Auto Trait Implementations§
impl RefUnwindSafe for Recovery
impl Send for Recovery
impl Sync for Recovery
impl Unpin for Recovery
impl UnwindSafe for Recovery
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