#[non_exhaustive]pub enum RollbackResult {
Ok,
ErrNoDevice,
ErrDeviceUnmanaged,
ErrFailed,
}Available on crate feature
v1_4 only.Expand description
The result of a checkpoint Rollback() operation for a specific device.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ok
the rollback succeeded.
ErrNoDevice
the device no longer exists.
ErrDeviceUnmanaged
the device is now unmanaged.
ErrFailed
other errors during rollback.
Trait Implementations§
Source§impl Clone for RollbackResult
impl Clone for RollbackResult
Source§fn clone(&self) -> RollbackResult
fn clone(&self) -> RollbackResult
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 RollbackResult
impl Debug for RollbackResult
Source§impl Hash for RollbackResult
impl Hash for RollbackResult
Source§impl Ord for RollbackResult
impl Ord for RollbackResult
Source§fn cmp(&self, other: &RollbackResult) -> Ordering
fn cmp(&self, other: &RollbackResult) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RollbackResult
impl PartialEq for RollbackResult
Source§impl PartialOrd for RollbackResult
impl PartialOrd for RollbackResult
impl Copy for RollbackResult
impl Eq for RollbackResult
impl StructuralPartialEq for RollbackResult
Auto Trait Implementations§
impl Freeze for RollbackResult
impl RefUnwindSafe for RollbackResult
impl Send for RollbackResult
impl Sync for RollbackResult
impl Unpin for RollbackResult
impl UnwindSafe for RollbackResult
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