pub enum DispatchCompletionError {
Canceled,
Expired,
DispatcherShutdown,
Operation(DispatchExecutionError),
WaitFromCallback,
WaitTimeout,
}Expand description
Terminal result reported by a dispatcher ticket when no value is available.
Variants§
Canceled
Cancellation won while the request was still cancelable.
Expired
The request expired while still queued.
DispatcherShutdown
Runtime shutdown retired the request before a result was published.
Operation(DispatchExecutionError)
Execution failed after selection.
WaitFromCallback
Blocking waits are forbidden inside an Excel callback.
WaitTimeout
The caller’s own wait deadline elapsed; the request remains owned.
Trait Implementations§
Source§impl Clone for DispatchCompletionError
impl Clone for DispatchCompletionError
Source§impl Debug for DispatchCompletionError
impl Debug for DispatchCompletionError
Source§impl Display for DispatchCompletionError
impl Display for DispatchCompletionError
impl Eq for DispatchCompletionError
Source§impl Error for DispatchCompletionError
impl Error for DispatchCompletionError
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 DispatchCompletionError
impl PartialEq for DispatchCompletionError
impl StructuralPartialEq for DispatchCompletionError
Auto Trait Implementations§
impl Freeze for DispatchCompletionError
impl RefUnwindSafe for DispatchCompletionError
impl Send for DispatchCompletionError
impl Sync for DispatchCompletionError
impl Unpin for DispatchCompletionError
impl UnsafeUnpin for DispatchCompletionError
impl UnwindSafe for DispatchCompletionError
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