pub enum MoveDirectoryError {
PreparationError(MoveDirectoryPreparationError),
ExecutionError(MoveDirectoryExecutionError),
}Expand description
Directory moving error (see move_directory / move_directory_with_progress).
Variants§
PreparationError(MoveDirectoryPreparationError)
Directory move preparation error.
ExecutionError(MoveDirectoryExecutionError)
Directory move execution error.
Trait Implementations§
Source§impl Debug for MoveDirectoryError
impl Debug for MoveDirectoryError
Source§impl Display for MoveDirectoryError
impl Display for MoveDirectoryError
Source§impl Error for MoveDirectoryError
impl Error for MoveDirectoryError
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 From<MoveDirectoryExecutionError> for MoveDirectoryError
impl From<MoveDirectoryExecutionError> for MoveDirectoryError
Source§fn from(source: MoveDirectoryExecutionError) -> Self
fn from(source: MoveDirectoryExecutionError) -> Self
Converts to this type from the input type.
Source§impl From<MoveDirectoryPreparationError> for MoveDirectoryError
impl From<MoveDirectoryPreparationError> for MoveDirectoryError
Source§fn from(source: MoveDirectoryPreparationError) -> Self
fn from(source: MoveDirectoryPreparationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MoveDirectoryError
impl !RefUnwindSafe for MoveDirectoryError
impl Send for MoveDirectoryError
impl Sync for MoveDirectoryError
impl Unpin for MoveDirectoryError
impl !UnwindSafe for MoveDirectoryError
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