pub enum FileRemoveError {
InsufficientPermissions,
CurrentlyInUse,
LoopInSymbolicLinks,
MaxSupportedPathLengthExceeded,
PartOfReadOnlyFileSystem,
UnknownError(i32),
}Variants§
InsufficientPermissions
CurrentlyInUse
LoopInSymbolicLinks
MaxSupportedPathLengthExceeded
PartOfReadOnlyFileSystem
UnknownError(i32)
Trait Implementations§
Source§impl Clone for FileRemoveError
impl Clone for FileRemoveError
Source§fn clone(&self) -> FileRemoveError
fn clone(&self) -> FileRemoveError
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 FileRemoveError
impl Debug for FileRemoveError
Source§impl Display for FileRemoveError
impl Display for FileRemoveError
Source§impl Error for FileRemoveError
impl Error for FileRemoveError
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 From<FileRemoveError> for DirectoryRemoveError
impl From<FileRemoveError> for DirectoryRemoveError
Source§fn from(v: FileRemoveError) -> Self
fn from(v: FileRemoveError) -> Self
Converts to this type from the input type.
Source§impl From<FileRemoveError> for FileCreationError
impl From<FileRemoveError> for FileCreationError
Source§fn from(v: FileRemoveError) -> Self
fn from(v: FileRemoveError) -> Self
Converts to this type from the input type.
Source§impl From<FileRemoveError> for FileError
impl From<FileRemoveError> for FileError
Source§fn from(_: FileRemoveError) -> Self
fn from(_: FileRemoveError) -> Self
Converts to this type from the input type.
Source§impl From<FileRemoveError> for ProcessGuardRemoveError
impl From<FileRemoveError> for ProcessGuardRemoveError
Source§fn from(v: FileRemoveError) -> Self
fn from(v: FileRemoveError) -> Self
Converts to this type from the input type.
Source§impl From<FileRemoveError> for UnixDatagramReceiverCreationError
impl From<FileRemoveError> for UnixDatagramReceiverCreationError
Source§fn from(v: FileRemoveError) -> Self
fn from(v: FileRemoveError) -> Self
Converts to this type from the input type.
Source§impl Hash for FileRemoveError
impl Hash for FileRemoveError
Source§impl PartialEq for FileRemoveError
impl PartialEq for FileRemoveError
impl Copy for FileRemoveError
impl Eq for FileRemoveError
impl StructuralPartialEq for FileRemoveError
Auto Trait Implementations§
impl Freeze for FileRemoveError
impl RefUnwindSafe for FileRemoveError
impl Send for FileRemoveError
impl Sync for FileRemoveError
impl Unpin for FileRemoveError
impl UnwindSafe for FileRemoveError
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