Struct futures::task::SpawnErrorKind [−][src]
pub struct SpawnErrorKind { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (futures_api
)
futures in libcore are unstable
Provides the reason that an executor was unable to spawn.
Methods
impl SpawnErrorKind
[src]
impl SpawnErrorKind
pub fn shutdown() -> SpawnErrorKind
[src]
pub fn shutdown() -> SpawnErrorKind
🔬 This is a nightly-only experimental API. (futures_api
)
futures in libcore are unstable
Spawning is failing because the executor has been shut down.
pub fn is_shutdown(&self) -> bool
[src]
pub fn is_shutdown(&self) -> bool
🔬 This is a nightly-only experimental API. (futures_api
)
futures in libcore are unstable
Check whether this error is the shutdown
error.
Trait Implementations
impl Debug for SpawnErrorKind
[src]
impl Debug for SpawnErrorKind
Auto Trait Implementations
impl Send for SpawnErrorKind
impl Send for SpawnErrorKind
impl Sync for SpawnErrorKind
impl Sync for SpawnErrorKind