pub enum OpenEntryError {
Io(Error),
UnsupportedEntry {
kind: FileType,
},
}Expand description
Refusal or native failure when selecting a root-relative entry.
Variants§
Io(Error)
A native open or metadata operation failed.
UnsupportedEntry
The selected entry is neither a regular file nor a directory.
Trait Implementations§
Source§impl Debug for OpenEntryError
impl Debug for OpenEntryError
Source§impl Display for OpenEntryError
impl Display for OpenEntryError
Source§impl Error for OpenEntryError
impl Error for OpenEntryError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for OpenEntryError
impl !UnwindSafe for OpenEntryError
impl Freeze for OpenEntryError
impl Send for OpenEntryError
impl Sync for OpenEntryError
impl Unpin for OpenEntryError
impl UnsafeUnpin for OpenEntryError
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