Enum futures::future::ExecuteErrorKind [−][src]
pub enum ExecuteErrorKind {
Shutdown,
NoCapacity,
// some variants omitted
}Expand description
Kinds of errors that can be returned from the Execute::spawn function.
Executors which may not always be able to accept a future may return one of these errors, indicating why it was unable to spawn a future.
Variants
This executor has shut down and will no longer accept new futures to spawn.
This executor has no more capacity to run more futures. Other futures need to finish before this executor can accept another.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ExecuteErrorKindimpl Send for ExecuteErrorKindimpl Sync for ExecuteErrorKindimpl Unpin for ExecuteErrorKindimpl UnwindSafe for ExecuteErrorKindBlanket Implementations
Mutably borrows from an owned value. Read more