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