Enum ErrorKind
#[non_exhaustive]
pub enum ErrorKind
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 A watch limit was reached: an inotify watch limit, a kqueue descriptor limit, or notify's FSEvents root limit.
-
WatchStartFailed Starting or restarting filesystem event delivery failed without a more specific error.
The FSEvents backend returns this when
FSEventStreamCreatereturns null orFSEventStreamStartreturnsfalse. This kind does not indicate whether retrying will succeed.
Trait Implementations
impl Debug for ErrorKind
fn fmt(&self, f: &mut Formatter<'_>) -> Result