pub enum XfsError {
Io(Error),
Incomplete,
Parse,
}
Variants§
Io(Error)
We encounter an error reading from /proc/fs/xfs/stat
Incomplete
We don’t have enough information for a complete parse
Parse
We encounter an error with the data wer’re parsing
Trait Implementations§
Source§impl Error for XfsError
impl Error for XfsError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Auto Trait Implementations§
impl Freeze for XfsError
impl !RefUnwindSafe for XfsError
impl Send for XfsError
impl Sync for XfsError
impl Unpin for XfsError
impl !UnwindSafe for XfsError
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