pub struct ErrorData {
pub kind: ErrorKind,
pub message: String,
pub tlc: Option<TlcClass>,
}Expand description
The contents of an Error.
Fields§
§kind: ErrorKindThe kind.
message: StringWhat happened.
tlc: Option<TlcClass>TLC’s class of an ErrorKind::Eval error, when the core knows it.
None is an unclassified error, which the engine must not report
as a verdict: it names it as unsupported instead.
Trait Implementations§
impl Eq for ErrorData
impl StructuralPartialEq for ErrorData
Auto Trait Implementations§
impl Forget for ErrorData
impl Freeze for ErrorData
impl Move for ErrorData
impl RefUnwindSafe for ErrorData
impl Send for ErrorData
impl Sync for ErrorData
impl Unpin for ErrorData
impl UnsafeUnpin for ErrorData
impl UnwindSafe for ErrorData
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