Enum tokio_io_pool::StreamSpawnError [−][src]
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: Debug> Debug for StreamSpawnError<SE>
[src]
impl<SE: Debug> Debug for StreamSpawnError<SE>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<SE> From<SE> for StreamSpawnError<SE>
[src]
impl<SE> From<SE> for StreamSpawnError<SE>
Auto Trait Implementations
impl<SE> Send for StreamSpawnError<SE> where
SE: Send,
impl<SE> Send for StreamSpawnError<SE> where
SE: Send,
impl<SE> Sync for StreamSpawnError<SE> where
SE: Sync,
impl<SE> Sync for StreamSpawnError<SE> where
SE: Sync,