pub enum ReadStreamToEndResult {
Ok(Vec<u8>),
Io(StreamIo),
Err(ReadStreamToEndError),
}
Expand description
Output emitted after a coroutine finishes its progression.
Variants§
Ok(Vec<u8>)
The coroutine has successfully terminated its progression.
Io(StreamIo)
A stream I/O needs to be performed to make the coroutine progress.
Err(ReadStreamToEndError)
An error occured during the coroutine progression.
Trait Implementations§
Source§impl Clone for ReadStreamToEndResult
impl Clone for ReadStreamToEndResult
Source§fn clone(&self) -> ReadStreamToEndResult
fn clone(&self) -> ReadStreamToEndResult
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 ReadStreamToEndResult
impl RefUnwindSafe for ReadStreamToEndResult
impl Send for ReadStreamToEndResult
impl Sync for ReadStreamToEndResult
impl Unpin for ReadStreamToEndResult
impl UnwindSafe for ReadStreamToEndResult
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