pub enum ThermiteError {
Show 15 variants
MissingFile(Box<PathBuf>),
Io(Error),
Unknown(String),
Network(Error),
Zip(ZipError),
Json(Box<dyn Error + Send + Sync + 'static>),
Dep(String),
Prefix(StripPrefixError),
Sanity(Box<dyn Error + Send + Sync + 'static>),
MissingPath,
ParseInt(ParseIntError),
IntConversion(TryFromIntError),
Name(String),
UTF8,
ToStr(ToStrError),
}Variants§
MissingFile(Box<PathBuf>)
Io(Error)
Unknown(String)
Network(Error)
Zip(ZipError)
Json(Box<dyn Error + Send + Sync + 'static>)
Dep(String)
Prefix(StripPrefixError)
Sanity(Box<dyn Error + Send + Sync + 'static>)
MissingPath
ParseInt(ParseIntError)
IntConversion(TryFromIntError)
Name(String)
UTF8
ToStr(ToStrError)
Trait Implementations§
Source§impl Debug for ThermiteError
impl Debug for ThermiteError
Source§impl Display for ThermiteError
impl Display for ThermiteError
Source§impl Error for ThermiteError
impl Error for ThermiteError
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 ThermiteError
impl From<Error> for ThermiteError
Source§impl From<Error> for ThermiteError
impl From<Error> for ThermiteError
Source§impl From<Error> for ThermiteError
impl From<Error> for ThermiteError
Source§impl From<Error> for ThermiteError
impl From<Error> for ThermiteError
Source§impl From<ParseIntError> for ThermiteError
impl From<ParseIntError> for ThermiteError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<StripPrefixError> for ThermiteError
impl From<StripPrefixError> for ThermiteError
Source§fn from(source: StripPrefixError) -> Self
fn from(source: StripPrefixError) -> Self
Converts to this type from the input type.
Source§impl From<ToStrError> for ThermiteError
impl From<ToStrError> for ThermiteError
Source§fn from(source: ToStrError) -> Self
fn from(source: ToStrError) -> Self
Converts to this type from the input type.
Source§impl From<TryFromIntError> for ThermiteError
impl From<TryFromIntError> for ThermiteError
Source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ThermiteError
impl !RefUnwindSafe for ThermiteError
impl Send for ThermiteError
impl Sync for ThermiteError
impl Unpin for ThermiteError
impl !UnwindSafe for ThermiteError
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