Enum notify::ErrorKind[][src]

pub enum ErrorKind {
    Generic(String),
    Io(Error),
    PathNotFound,
    WatchNotFound,
    InvalidConfig(Config),
    MaxFilesWatch,
}
Expand description

Error kinds

Variants

Generic

Generic error

May be used in cases where a platform specific error is mapped to this type, or for opaque internal errors.

Tuple Fields of Generic

0: String
Io

I/O errors.

Tuple Fields of Io

0: Error
PathNotFound

A path does not exist.

WatchNotFound

Attempted to remove a watch that does not exist.

InvalidConfig

An invalid value was passed as runtime configuration.

Tuple Fields of InvalidConfig

0: Config
MaxFilesWatch

Can’t watch (more) files, limit on the total number of inotify watches reached

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.