pub enum DispatchExecutionError {
IncompatibleContext {
required: DispatchRequirement,
actual: DispatchCallbackKind,
},
Excel(ExcelCallError),
Panicked,
InternalInvariant,
}Expand description
Failure after a request has been selected for a compatible callback drain.
Variants§
IncompatibleContext
A selected operation did not match the draining callback’s capability.
Fields
§
required: DispatchRequirementOperation’s closed capability requirement.
§
actual: DispatchCallbackKindActual Excel-issued callback kind.
Excel(ExcelCallError)
A legal typed Excel call failed while executing the operation.
Panicked
User operation code panicked; the dispatcher contained it and retired the request.
InternalInvariant
Internal request state was inconsistent; no panic escaped the callback.
Trait Implementations§
Source§impl Clone for DispatchExecutionError
impl Clone for DispatchExecutionError
Source§impl Debug for DispatchExecutionError
impl Debug for DispatchExecutionError
Source§impl Display for DispatchExecutionError
impl Display for DispatchExecutionError
impl Eq for DispatchExecutionError
Source§impl Error for DispatchExecutionError
impl Error for DispatchExecutionError
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 DispatchExecutionError
impl PartialEq for DispatchExecutionError
impl StructuralPartialEq for DispatchExecutionError
Auto Trait Implementations§
impl Freeze for DispatchExecutionError
impl RefUnwindSafe for DispatchExecutionError
impl Send for DispatchExecutionError
impl Sync for DispatchExecutionError
impl Unpin for DispatchExecutionError
impl UnsafeUnpin for DispatchExecutionError
impl UnwindSafe for DispatchExecutionError
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