pub struct ReadNamedError { /* private fields */ }
Expand description
An error encountered while reading a named file
Implementations§
Source§impl ReadNamedError
impl ReadNamedError
Sourcepub fn into_inner(self) -> ReadError
pub fn into_inner(self) -> ReadError
Unwraps the inner read error, discarding the associated path.
Sourcepub fn is_not_found_error(&self) -> bool
pub fn is_not_found_error(&self) -> bool
Returns true if the read failed because the file was no found.
Trait Implementations§
Source§impl Debug for ReadNamedError
impl Debug for ReadNamedError
Source§impl Display for ReadNamedError
impl Display for ReadNamedError
Source§impl Error for ReadNamedError
impl Error for ReadNamedError
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 ReadNamedError
impl !RefUnwindSafe for ReadNamedError
impl Send for ReadNamedError
impl Sync for ReadNamedError
impl Unpin for ReadNamedError
impl !UnwindSafe for ReadNamedError
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