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