pub enum ReplaceStartError {
AlreadyStarted,
ScrubInProgress,
}Expand description
Result of a replace start attempt that the kernel rejected at the
application level (ioctl succeeded but the result field indicates a
problem).
Variants§
AlreadyStarted
A replace operation is already in progress.
ScrubInProgress
A scrub is in progress and must finish before replace can start.
Trait Implementations§
Source§impl Clone for ReplaceStartError
impl Clone for ReplaceStartError
Source§fn clone(&self) -> ReplaceStartError
fn clone(&self) -> ReplaceStartError
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 ReplaceStartError
impl Debug for ReplaceStartError
Source§impl Display for ReplaceStartError
impl Display for ReplaceStartError
Source§impl Error for ReplaceStartError
impl Error for ReplaceStartError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ReplaceStartError
impl PartialEq for ReplaceStartError
impl Copy for ReplaceStartError
impl Eq for ReplaceStartError
impl StructuralPartialEq for ReplaceStartError
Auto Trait Implementations§
impl Freeze for ReplaceStartError
impl RefUnwindSafe for ReplaceStartError
impl Send for ReplaceStartError
impl Sync for ReplaceStartError
impl Unpin for ReplaceStartError
impl UnsafeUnpin for ReplaceStartError
impl UnwindSafe for ReplaceStartError
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