pub enum WriteStreamResult {
Ok(StreamOutput),
Io(StreamIo),
Eof,
Err(WriteStreamError),
}
Expand description
Output emitted after a coroutine finishes its progression.
Variants§
Ok(StreamOutput)
The coroutine has successfully terminated its progression.
Io(StreamIo)
A stream I/O needs to be performed to make the coroutine progress.
Eof
The coroutine reached the End Of File.
Only the consumer can determine if its an error or not.
Err(WriteStreamError)
An error occured during the coroutine progression.
Trait Implementations§
Source§impl Clone for WriteStreamResult
impl Clone for WriteStreamResult
Source§fn clone(&self) -> WriteStreamResult
fn clone(&self) -> WriteStreamResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for WriteStreamResult
impl RefUnwindSafe for WriteStreamResult
impl Send for WriteStreamResult
impl Sync for WriteStreamResult
impl Unpin for WriteStreamResult
impl UnwindSafe for WriteStreamResult
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