pub enum ErrorType {
Show 15 variants
ModuleWithoutContent,
UnknownMacro,
MacroError(String),
MacroParseError(Error),
UnsupportedConstruct(String),
IllegalConstruct(String),
InferenceFailure,
ConcreteConversionError(String),
ForwardConversionError(String),
BackwardConversionError(String),
DescriptionError(String),
SsaInternal(String),
ForwardInternal(String),
BackwardInternal(String),
RulesInternal(String),
}
Variants§
ModuleWithoutContent
UnknownMacro
MacroError(String)
MacroParseError(Error)
UnsupportedConstruct(String)
IllegalConstruct(String)
InferenceFailure
ConcreteConversionError(String)
ForwardConversionError(String)
BackwardConversionError(String)
DescriptionError(String)
SsaInternal(String)
ForwardInternal(String)
BackwardInternal(String)
RulesInternal(String)
Trait Implementations§
Source§impl Error for ErrorType
impl Error for ErrorType
1.30.0 · 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 Freeze for ErrorType
impl RefUnwindSafe for ErrorType
impl Send for ErrorType
impl Sync for ErrorType
impl Unpin for ErrorType
impl UnwindSafe for ErrorType
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