pub enum AsyncCompletionError {
Canceled,
AlreadyCompleted,
RuntimeClosing,
Return(ThunkError),
Excel {
code: ExcelReturnCode,
accepted: Option<bool>,
},
}Expand description
Describes why an accepted asynchronous request could not publish a result.
Variants§
Canceled
Calculation cancellation retired the request before completion.
AlreadyCompleted
A second completion attempt targeted an already terminal request.
RuntimeClosing
The runtime generation is shutting down and will not publish results.
Return(ThunkError)
Planning or materializing the return value failed before xlAsyncReturn.
Excel
xlAsyncReturn returned a non-success Excel result.
Fields
§
code: ExcelReturnCodeExact Excel C API return code.
Trait Implementations§
Source§impl Debug for AsyncCompletionError
impl Debug for AsyncCompletionError
Source§impl Display for AsyncCompletionError
impl Display for AsyncCompletionError
Source§impl Error for AsyncCompletionError
impl Error for AsyncCompletionError
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 AsyncCompletionError
impl RefUnwindSafe for AsyncCompletionError
impl Send for AsyncCompletionError
impl Sync for AsyncCompletionError
impl Unpin for AsyncCompletionError
impl UnsafeUnpin for AsyncCompletionError
impl UnwindSafe for AsyncCompletionError
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