Struct futures_util::task::SpawnError
source · pub struct SpawnError { /* private fields */ }
Expand description
An error that occurred during spawning.
Implementations§
source§impl SpawnError
impl SpawnError
sourcepub fn shutdown() -> SpawnError
pub fn shutdown() -> SpawnError
Spawning failed because the executor has been shut down.
sourcepub fn is_shutdown(&self) -> bool
pub fn is_shutdown(&self) -> bool
Check whether spawning failed to the executor being shut down.