pub enum StopAfter {
Never,
Compact,
Verify,
Rename,
}Expand description
Where a NewGeneration run may be stopped, for the crash-safety guards.
Stopping returns an Err and leaves the filesystem in exactly the state a
process death at that point would leave it — nothing is unwound. That is the
point: the test then asserts what a reader finds.
Variants§
Never
Compact
The work copy has been compacted; nothing has been verified or renamed.
Verify
The new generation has been verified but not yet renamed into place.
Rename
The new generation is in place under its own name; the old archive has not been unlinked. Both are on disk and both are readable.
Trait Implementations§
impl Copy for StopAfter
impl Eq for StopAfter
impl StructuralPartialEq for StopAfter
Auto Trait Implementations§
impl Freeze for StopAfter
impl RefUnwindSafe for StopAfter
impl Send for StopAfter
impl Sync for StopAfter
impl Unpin for StopAfter
impl UnsafeUnpin for StopAfter
impl UnwindSafe for StopAfter
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.