pub enum FindError {
Command(CommandErrorWrapper),
Setup(SetupErrorWrapper),
Install(InstallError),
Parse(String),
Json(Error),
}Expand description
Errors finding.
Variants§
Command(CommandErrorWrapper)
command line error {0}
Setup(SetupErrorWrapper)
setup error: {0}
Install(InstallError)
installation error {0}
Parse(String)
output parse error {0}
Json(Error)
json error {0}
Trait Implementations§
source§impl Error for FindError
impl Error for FindError
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<CommandErrorWrapper> for FindError
impl From<CommandErrorWrapper> for FindError
source§fn from(source: CommandErrorWrapper) -> Self
fn from(source: CommandErrorWrapper) -> Self
Converts to this type from the input type.
source§impl From<InstallError> for FindError
impl From<InstallError> for FindError
source§fn from(source: InstallError) -> Self
fn from(source: InstallError) -> Self
Converts to this type from the input type.
source§impl From<SetupErrorWrapper> for FindError
impl From<SetupErrorWrapper> for FindError
source§fn from(source: SetupErrorWrapper) -> Self
fn from(source: SetupErrorWrapper) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for FindError
impl Send for FindError
impl Sync for FindError
impl Unpin for FindError
impl !UnwindSafe for FindError
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