pub struct NotADirectoryError;Available on crate feature
sync only.Expand description
Error returned when trying to access a file as a directory
Trait Implementations§
Source§impl Clone for NotADirectoryError
impl Clone for NotADirectoryError
impl Copy for NotADirectoryError
Source§impl Debug for NotADirectoryError
impl Debug for NotADirectoryError
Source§impl Display for NotADirectoryError
impl Display for NotADirectoryError
Source§impl Error for NotADirectoryError
Available on crate feature std only.
impl Error for NotADirectoryError
Available on crate feature
std only.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()
Auto Trait Implementations§
impl Freeze for NotADirectoryError
impl RefUnwindSafe for NotADirectoryError
impl Send for NotADirectoryError
impl Sync for NotADirectoryError
impl Unpin for NotADirectoryError
impl UnsafeUnpin for NotADirectoryError
impl UnwindSafe for NotADirectoryError
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