pub enum ListFilesError {
ReadDirFailed(String),
ReadEntryFailed(String),
MetadataFailed(String),
}Expand description
Errors related to list files operations
Variants§
ReadDirFailed(String)
Failed to read directory
ReadEntryFailed(String)
Failed to read directory entry
MetadataFailed(String)
Failed to read metadata
Trait Implementations§
Source§impl Debug for ListFilesError
impl Debug for ListFilesError
Source§impl Display for ListFilesError
impl Display for ListFilesError
Source§impl Error for ListFilesError
impl Error for ListFilesError
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<ListFilesError> for CodingError
impl From<ListFilesError> for CodingError
Source§fn from(source: ListFilesError) -> Self
fn from(source: ListFilesError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ListFilesError
impl RefUnwindSafe for ListFilesError
impl Send for ListFilesError
impl Sync for ListFilesError
impl Unpin for ListFilesError
impl UnsafeUnpin for ListFilesError
impl UnwindSafe for ListFilesError
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