pub enum AsyncSubmitError {
ExecutorUnavailable,
ExecutorRejected,
ExecutorQueueFull,
ExecutorClosed,
WorkerStartFailed,
CapacityExhausted,
RuntimeClosing,
InvalidHandle,
}Expand description
Describes why asynchronous submission could not be committed.
Variants§
No executor was installed for the current runtime generation.
ExecutorRejected
A third-party executor rejected the job before accepting it.
ExecutorQueueFull
The executor’s own bounded queue has no capacity.
ExecutorClosed
The executor generation has crossed its permanent shutdown boundary.
WorkerStartFailed
The built-in executor could not start every required worker.
CapacityExhausted
The controller’s configured in-flight request limit was reached.
RuntimeClosing
Runtime shutdown won the submission race.
InvalidHandle
Excel supplied a malformed or null asynchronous completion handle.
Trait Implementations§
Source§impl Clone for AsyncSubmitError
impl Clone for AsyncSubmitError
impl Copy for AsyncSubmitError
Source§impl Debug for AsyncSubmitError
impl Debug for AsyncSubmitError
Source§impl Display for AsyncSubmitError
impl Display for AsyncSubmitError
impl Eq for AsyncSubmitError
Source§impl Error for AsyncSubmitError
impl Error for AsyncSubmitError
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 AsyncSubmitError
impl PartialEq for AsyncSubmitError
impl StructuralPartialEq for AsyncSubmitError
Auto Trait Implementations§
impl Freeze for AsyncSubmitError
impl RefUnwindSafe for AsyncSubmitError
impl Send for AsyncSubmitError
impl Sync for AsyncSubmitError
impl Unpin for AsyncSubmitError
impl UnsafeUnpin for AsyncSubmitError
impl UnwindSafe for AsyncSubmitError
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