Enum xfs::XfsError [] [src]

pub enum XfsError {
    Io(Error),
    Incomplete,
    Parse,
}

Variants

Io

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

impl Display for XfsError

fn fmt(&self, f: &mut Formatter) -> Result

impl Error for XfsError

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl From<Error> for XfsError

fn from(err: Error) -> XfsError

Derived Implementations

impl Debug for XfsError

fn fmt(&self, __arg_0: &mut Formatter) -> Result