pub enum SnapshotError {
NotFound(u64),
SourceNotFound(u64),
AlreadyExists(String),
NotReady(u64),
}Expand description
Snapshot error.
Variants§
NotFound(u64)
Snapshot not found.
SourceNotFound(u64)
Source volume not found.
AlreadyExists(String)
Snapshot already exists with this name.
NotReady(u64)
Snapshot is not ready.
Trait Implementations§
Source§impl Clone for SnapshotError
impl Clone for SnapshotError
Source§fn clone(&self) -> SnapshotError
fn clone(&self) -> SnapshotError
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SnapshotError
impl Debug for SnapshotError
Source§impl PartialEq for SnapshotError
impl PartialEq for SnapshotError
impl Eq for SnapshotError
impl StructuralPartialEq for SnapshotError
Auto Trait Implementations§
impl Freeze for SnapshotError
impl RefUnwindSafe for SnapshotError
impl Send for SnapshotError
impl Sync for SnapshotError
impl Unpin for SnapshotError
impl UnwindSafe for SnapshotError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)