pub enum RIPTError {
Io(Error),
Nix(Error),
Parse(ParseIntError),
Analysis(RIPTAnalysisError),
Stderr(String),
Other(&'static str),
}
Variants§
Io(Error)
Nix(Error)
Parse(ParseIntError)
Analysis(RIPTAnalysisError)
Stderr(String)
Other(&'static str)
Trait Implementations§
Source§impl Error for RIPTError
impl Error for RIPTError
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
Source§impl From<ParseIntError> for RIPTError
impl From<ParseIntError> for RIPTError
Source§fn from(err: ParseIntError) -> Self
fn from(err: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<RIPTAnalysisError> for RIPTError
impl From<RIPTAnalysisError> for RIPTError
Source§fn from(err: RIPTAnalysisError) -> Self
fn from(err: RIPTAnalysisError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RIPTError
impl !RefUnwindSafe for RIPTError
impl Send for RIPTError
impl Sync for RIPTError
impl Unpin for RIPTError
impl !UnwindSafe for RIPTError
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