pub enum WithWatchError {
Show 18 variants
MissingCommand,
ConflictingModes,
EmptyShellExpression,
MissingExecCommand,
NoWatchInputs,
CurrentDirectory(Error),
ShellParse {
message: String,
},
UnsupportedShellConstruct {
construct: String,
},
InvalidGlob {
pattern: String,
message: String,
},
MissingWatchAnchor {
path: PathBuf,
},
Metadata {
path: PathBuf,
source: Error,
},
HashRead {
path: PathBuf,
source: Error,
},
WatcherCreate(Error),
WatchPath {
path: PathBuf,
source: Error,
},
Spawn {
command: String,
source: Error,
},
Wait {
command: String,
source: Error,
},
StdoutRefresh(Error),
UnsupportedShellPlatform,
}Variants§
MissingCommand
ConflictingModes
EmptyShellExpression
MissingExecCommand
NoWatchInputs
CurrentDirectory(Error)
ShellParse
UnsupportedShellConstruct
InvalidGlob
MissingWatchAnchor
Metadata
HashRead
WatcherCreate(Error)
WatchPath
Spawn
Wait
StdoutRefresh(Error)
UnsupportedShellPlatform
Implementations§
Trait Implementations§
Source§impl Debug for WithWatchError
impl Debug for WithWatchError
Source§impl Display for WithWatchError
impl Display for WithWatchError
Source§impl Error for WithWatchError
impl Error for WithWatchError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for WithWatchError
impl !RefUnwindSafe for WithWatchError
impl Send for WithWatchError
impl Sync for WithWatchError
impl Unpin for WithWatchError
impl UnsafeUnpin for WithWatchError
impl !UnwindSafe for WithWatchError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more