pub enum ProbeCliError {
Io(Error),
Probe(ProbeError),
InvalidArgument(String),
UsageRequested,
}Expand description
Errors raised while parsing arguments, probing files, or rendering probe output.
Variants§
Trait Implementations§
Source§impl Debug for ProbeCliError
impl Debug for ProbeCliError
Source§impl Display for ProbeCliError
impl Display for ProbeCliError
Source§impl Error for ProbeCliError
impl Error for ProbeCliError
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()
Source§impl From<Error> for ProbeCliError
impl From<Error> for ProbeCliError
Source§impl From<ProbeError> for ProbeCliError
impl From<ProbeError> for ProbeCliError
Source§fn from(value: ProbeError) -> Self
fn from(value: ProbeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProbeCliError
impl !RefUnwindSafe for ProbeCliError
impl Send for ProbeCliError
impl Sync for ProbeCliError
impl Unpin for ProbeCliError
impl UnsafeUnpin for ProbeCliError
impl !UnwindSafe for ProbeCliError
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