pub enum ResolveCommandPathError {
CommandNotFound(String),
CommandEmpty,
}
Expand description
Errors for executable commands.
Variants§
Implementations§
Trait Implementations§
source§impl Debug for ResolveCommandPathError
impl Debug for ResolveCommandPathError
source§impl Display for ResolveCommandPathError
impl Display for ResolveCommandPathError
source§impl Error for ResolveCommandPathError
impl Error for ResolveCommandPathError
1.30.0 · 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 PartialEq for ResolveCommandPathError
impl PartialEq for ResolveCommandPathError
source§fn eq(&self, other: &ResolveCommandPathError) -> bool
fn eq(&self, other: &ResolveCommandPathError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResolveCommandPathError
Auto Trait Implementations§
impl Freeze for ResolveCommandPathError
impl RefUnwindSafe for ResolveCommandPathError
impl Send for ResolveCommandPathError
impl Sync for ResolveCommandPathError
impl Unpin for ResolveCommandPathError
impl UnwindSafe for ResolveCommandPathError
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