pub enum StreamSpawnError<SE> {
Spawn(SpawnError),
Stream(SE),
}
Expand description
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§
Source§impl<SE: Debug> Debug for StreamSpawnError<SE>
impl<SE: Debug> Debug for StreamSpawnError<SE>
Auto Trait Implementations§
impl<SE> Freeze for StreamSpawnError<SE>where
SE: Freeze,
impl<SE> RefUnwindSafe for StreamSpawnError<SE>where
SE: RefUnwindSafe,
impl<SE> Send for StreamSpawnError<SE>where
SE: Send,
impl<SE> Sync for StreamSpawnError<SE>where
SE: Sync,
impl<SE> Unpin for StreamSpawnError<SE>where
SE: Unpin,
impl<SE> UnwindSafe for StreamSpawnError<SE>where
SE: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more