[][src]Struct futures::task::SpawnError

pub struct SpawnError { /* fields omitted */ }

An error that occurred during spawning.


impl SpawnError[src]

pub fn shutdown() -> SpawnError[src]

Spawning failed because the executor has been shut down.

pub fn is_shutdown(&self) -> bool[src]

Check whether spawning failed to the executor being shut down.

Trait Implementations

impl Error for SpawnError[src]

fn description(&self) -> &str1.0.0[src]

This method is soft-deprecated. Read more

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

impl Debug for SpawnError[src]

impl Display for SpawnError[src]

Auto Trait Implementations

impl Sync for SpawnError

impl Send for SpawnError

impl Unpin for SpawnError

impl UnwindSafe for SpawnError

impl RefUnwindSafe for SpawnError

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,