pub enum ReplaceState {
NeverStarted,
Started,
Finished,
Canceled,
Suspended,
}Expand description
Current state of a device replace operation.
Variants§
NeverStarted
No replace operation has ever been started on this filesystem.
Started
A replace operation is currently running.
Finished
The replace operation completed successfully.
Canceled
The replace operation was canceled before completion.
Suspended
The replace operation was suspended (e.g. by unmount) and can be resumed.
Trait Implementations§
Source§impl Clone for ReplaceState
impl Clone for ReplaceState
Source§fn clone(&self) -> ReplaceState
fn clone(&self) -> ReplaceState
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 ReplaceState
impl Debug for ReplaceState
Source§impl PartialEq for ReplaceState
impl PartialEq for ReplaceState
impl Copy for ReplaceState
impl Eq for ReplaceState
impl StructuralPartialEq for ReplaceState
Auto Trait Implementations§
impl Freeze for ReplaceState
impl RefUnwindSafe for ReplaceState
impl Send for ReplaceState
impl Sync for ReplaceState
impl Unpin for ReplaceState
impl UnsafeUnpin for ReplaceState
impl UnwindSafe for ReplaceState
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