[][src]Enum tokio_io_pool::StreamSpawnError

pub enum StreamSpawnError<SE> {
    Spawn(SpawnError),
    Stream(SE),
}

An error that occurred as a result of spawning futures from a stream given to Runtime::spawn_all.

Variants

Spawn(SpawnError)

An error occurred while spawning a future yielded by the stream onto the pool.

Stream(SE)

An error occurred while polling the stream for another future.

Trait Implementations

impl<SE> From<SE> for StreamSpawnError<SE>[src]

impl<SE: Debug> Debug for StreamSpawnError<SE>[src]

Auto Trait Implementations

impl<SE> Send for StreamSpawnError<SE> where
    SE: Send

impl<SE> Unpin for StreamSpawnError<SE> where
    SE: Unpin

impl<SE> Sync for StreamSpawnError<SE> where
    SE: Sync

impl<SE> UnwindSafe for StreamSpawnError<SE> where
    SE: UnwindSafe

impl<SE> RefUnwindSafe for StreamSpawnError<SE> where
    SE: RefUnwindSafe

Blanket Implementations

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

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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
[src]

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

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