Enum notify::Error [] [src]

pub enum Error {
    Generic(String),
    Io(Error),
    NotImplemented,
    PathNotFound,
    WatchNotFound,
}

Errors generated from the notify crate

Variants

Generic(String)

Generic error

May be used in cases where a platform specific error is mapped to this type

Io(Error)

I/O errors

NotImplemented

Something isn't implemented in notify

TODO this isn't used and should be removed

PathNotFound

The provided path does not exist

WatchNotFound

Attempted to remove a watch that does not exist

Trait Implementations

impl Debug for Error
[src]

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

Formats the value using the given formatter.

impl Display for Error
[src]

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

Formats the value using the given formatter.

impl StdError for Error
[src]

fn description(&self) -> &str

A short description of the error. Read more

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

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