pub enum SpawnThenWaitResult {
Ok(SpawnStatus),
Io(ProcessIo),
Err(SpawnThenWaitError),
}Expand description
Output emitted after a coroutine finishes its progression.
Variants§
Ok(SpawnStatus)
The coroutine has successfully terminated its progression.
Io(ProcessIo)
A process I/O needs to be performed to make the coroutine progress.
Err(SpawnThenWaitError)
An error occurred during the coroutine progression.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpawnThenWaitResult
impl RefUnwindSafe for SpawnThenWaitResult
impl Send for SpawnThenWaitResult
impl Sync for SpawnThenWaitResult
impl Unpin for SpawnThenWaitResult
impl UnwindSafe for SpawnThenWaitResult
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