Enum perseus_cli::errors::WatchError
source · pub enum WatchError {
WatcherSetupFailed {
source: Error,
},
ReadCurrentDirFailed {
source: Error,
},
ReadDirEntryFailed {
source: Error,
},
WatchFileNotResolved {
filename: String,
source: Error,
},
WatchFileFailed {
filename: String,
source: Error,
},
UnwatchFileFailed {
filename: String,
source: Error,
},
WatcherError {
source: RecvError,
},
SpawnSelfFailed {
source: Error,
},
GetSelfPathFailed {
source: Error,
},
ReadCustomDirEntryFailed {
source: Error,
},
}Variants§
WatcherSetupFailed
ReadCurrentDirFailed
ReadDirEntryFailed
WatchFileNotResolved
WatchFileFailed
UnwatchFileFailed
WatcherError
SpawnSelfFailed
GetSelfPathFailed
ReadCustomDirEntryFailed
Trait Implementations§
source§impl Debug for WatchError
impl Debug for WatchError
source§impl Display for WatchError
impl Display for WatchError
source§impl Error for WatchError
impl Error for WatchError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<WatchError> for Error
impl From<WatchError> for Error
source§fn from(source: WatchError) -> Self
fn from(source: WatchError) -> Self
Converts to this type from the input type.