Struct fuchsia_fs::file::ReadNamedError
source · 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)>
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