[][src]Struct tokio_executor::SpawnError

pub struct SpawnError { /* fields omitted */ }

Errors returned by Executor::spawn.

Spawn errors should represent relatively rare scenarios. Currently, the two scenarios represented by SpawnError are:

Methods

impl SpawnError
[src]

Return a new SpawnError reflecting a shutdown executor failure.

Return a new SpawnError reflecting an executor at capacity failure.

Returns true if the error reflects a shutdown executor failure.

Returns true if the error reflects an executor at capacity failure.

Trait Implementations

impl Debug for SpawnError
[src]

Formats the value using the given formatter. Read more

impl Display for SpawnError
[src]

Formats the value using the given formatter. Read more

impl Error for SpawnError
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations

impl Send for SpawnError

impl Sync for SpawnError

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

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

Converts the given value to a String. Read more

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more