Enum convenience::FileError []

pub enum FileError {
    Io(Error),
    Utf8(FromUtf8Error),
}

Variants

Io(Error)Utf8(FromUtf8Error)

Trait Implementations

impl Debug for FileError
[src]

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

Formats the value using the given formatter.

impl Display for FileError

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

Formats the value using the given formatter.

impl Error for FileError

fn description(&self) -> &str

A short description of the error. Read more

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

The lower-level cause of this error, if any. Read more

impl From<Error> for FileError

fn from(e: Error) -> FileError

Performs the conversion.

impl From<FromUtf8Error> for FileError

fn from(e: FromUtf8Error) -> FileError

Performs the conversion.