pub enum ErrorKind {
Generic(String),
Io(Error),
PathNotFound,
WatchNotFound,
InvalidConfig(Config),
MaxFilesWatch,
}
Expand description
Error kinds
Variants§
Generic(String)
Generic error
May be used in cases where a platform specific error is mapped to this type, or for opaque internal errors.
Io(Error)
I/O errors.
PathNotFound
A path does not exist.
WatchNotFound
Attempted to remove a watch that does not exist.
InvalidConfig(Config)
An invalid value was passed as runtime configuration.
MaxFilesWatch
Can’t watch (more) files, limit on the total number of inotify watches reached