pub enum FromReaderError {
InitializationCheckIncorrect,
Io(Error),
}Expand description
Errors that might occur deserializing a Filesystem from I/O
Variants§
InitializationCheckIncorrect
All correctly initialized filesystem memory has certain bytes set for verification against memory corruption.
This error is returned when that those bytes are faulty during a read.
Io(Error)
Any failure that has to do with I/O
Trait Implementations§
Source§impl Debug for FromReaderError
impl Debug for FromReaderError
Source§impl Display for FromReaderError
impl Display for FromReaderError
Source§impl Error for FromReaderError
impl Error for FromReaderError
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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for FromReaderError
impl From<Error> for FromReaderError
Source§impl From<FromReaderError> for FromReaderError
impl From<FromReaderError> for FromReaderError
Source§fn from(source: FromReaderError) -> Self
fn from(source: FromReaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FromReaderError
impl !RefUnwindSafe for FromReaderError
impl Send for FromReaderError
impl Sync for FromReaderError
impl Unpin for FromReaderError
impl !UnwindSafe for FromReaderError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
Source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self file descriptor.Source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
Source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self file descriptor. Read more