pub type SpawnError = SpawnError;
Aliased Type§
struct SpawnError { /* private fields */ }
Implementations
§impl SpawnError
impl SpawnError
pub fn shutdown() -> SpawnError
pub fn shutdown() -> SpawnError
Spawning failed because the executor has been shut down.
pub fn is_shutdown(&self) -> bool
pub fn is_shutdown(&self) -> bool
Check whether spawning failed to the executor being shut down.
Trait Implementations
§impl Error for SpawnError
impl Error for SpawnError
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()