Enum probes::ProbeError
source · pub enum ProbeError {
IO(Error, String),
UnexpectedContent(String),
InvalidInput(String),
StatusFailure(String),
}
Variants§
IO(Error, String)
IO error when opening file or command described in second field of the error
UnexpectedContent(String)
Unexpected content in file or output
InvalidInput(String)
Input into a calculation function is invalid
StatusFailure(String)
Command failed
Trait Implementations§
source§impl Debug for ProbeError
impl Debug for ProbeError
source§impl Display for ProbeError
impl Display for ProbeError
source§impl Error for ProbeError
impl Error for ProbeError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Auto Trait Implementations§
impl Freeze for ProbeError
impl !RefUnwindSafe for ProbeError
impl Send for ProbeError
impl Sync for ProbeError
impl Unpin for ProbeError
impl !UnwindSafe for ProbeError
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