pub enum RigError {
MissingBinary {
what: &'static str,
env_var: &'static str,
how_to_fix: String,
},
Io(Error),
Invalid(String),
Timeout {
waiting_for: String,
details: String,
},
}Expand description
A missing prerequisite is skippable; a broken rig is not.
Variants§
Trait Implementations§
Source§impl Error for RigError
impl Error for RigError
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 !RefUnwindSafe for RigError
impl !UnwindSafe for RigError
impl Freeze for RigError
impl Send for RigError
impl Sync for RigError
impl Unpin for RigError
impl UnsafeUnpin for RigError
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