Enum thermite::error::ThermiteError
source · pub enum ThermiteError {
Show 14 variants
MissingFile(Box<PathBuf>),
IoError(Error),
UnknownError(String),
NetworkError(Box<Error>),
ZipError(ZipError),
JsonError(Box<dyn Error + Send + Sync + 'static>),
DepError(String),
PrefixError(StripPrefixError),
SanityError,
MissingPath,
ParseIntError(ParseIntError),
IntConversionError(TryFromIntError),
NameError(String),
UTF8Error,
}Variants§
MissingFile(Box<PathBuf>)
IoError(Error)
UnknownError(String)
NetworkError(Box<Error>)
ZipError(ZipError)
JsonError(Box<dyn Error + Send + Sync + 'static>)
DepError(String)
PrefixError(StripPrefixError)
SanityError
MissingPath
ParseIntError(ParseIntError)
IntConversionError(TryFromIntError)
NameError(String)
UTF8Error
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)>
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<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 !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