Struct core::task::SpawnErrorKind [−][src]
pub struct SpawnErrorKind { /* fields omitted */ }🔬 This is a nightly-only experimental API. (futures_api #50547)
futures in libcore are unstable
Provides the reason that an executor was unable to spawn.
Methods
impl SpawnErrorKind[src]
impl SpawnErrorKindpub fn shutdown() -> SpawnErrorKind[src]
pub fn shutdown() -> SpawnErrorKind🔬 This is a nightly-only experimental API. (futures_api #50547)
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 #50547)
futures in libcore are unstable
Check whether this error is the shutdown error.
Trait Implementations
impl Debug for SpawnErrorKind[src]
impl Debug for SpawnErrorKindAuto Trait Implementations
impl Send for SpawnErrorKind
impl Send for SpawnErrorKindimpl Sync for SpawnErrorKind
impl Sync for SpawnErrorKind