pub struct InvokeError {
pub error_type: InvokeErrorCode,
}Expand description
Panic payload classifying how an invocation frame terminated; downcast at the frame’s catch site and mapped to the frame outcome.
Fields§
§error_type: InvokeErrorCodeThe code the catch site reports to the executor.
Trait Implementations§
Source§impl Clone for InvokeError
impl Clone for InvokeError
Source§impl Debug for InvokeError
impl Debug for InvokeError
Source§impl Display for InvokeError
impl Display for InvokeError
Source§impl Error for InvokeError
impl Error for InvokeError
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()
Source§impl PartialEq for InvokeError
impl PartialEq for InvokeError
impl StructuralPartialEq for InvokeError
Auto Trait Implementations§
impl Freeze for InvokeError
impl RefUnwindSafe for InvokeError
impl Send for InvokeError
impl Sync for InvokeError
impl Unpin for InvokeError
impl UnsafeUnpin for InvokeError
impl UnwindSafe for InvokeError
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