pub enum RollbackState {
NotNeeded,
Completed,
Failed(ProtectionFailure),
}Expand description
Result of one cleanup operation after failed construction.
Variants§
NotNeeded
The cleanup operation was unnecessary.
Completed
Cleanup completed successfully.
Failed(ProtectionFailure)
Cleanup failed and storage may remain live.
Trait Implementations§
Source§impl Clone for RollbackState
impl Clone for RollbackState
Source§fn clone(&self) -> RollbackState
fn clone(&self) -> RollbackState
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 moreimpl Copy for RollbackState
Source§impl Debug for RollbackState
impl Debug for RollbackState
impl Eq for RollbackState
Source§impl PartialEq for RollbackState
impl PartialEq for RollbackState
impl StructuralPartialEq for RollbackState
Auto Trait Implementations§
impl Freeze for RollbackState
impl RefUnwindSafe for RollbackState
impl Send for RollbackState
impl Sync for RollbackState
impl Unpin for RollbackState
impl UnsafeUnpin for RollbackState
impl UnwindSafe for RollbackState
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