pub enum ReadStreamExactResult {
Ok(Vec<u8>),
Io(StreamIo),
Err(ReadStreamExactError),
}
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(ReadStreamExactError)
An error occured during the coroutine progression.
Trait Implementations§
Source§impl Clone for ReadStreamExactResult
impl Clone for ReadStreamExactResult
Source§fn clone(&self) -> ReadStreamExactResult
fn clone(&self) -> ReadStreamExactResult
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 ReadStreamExactResult
impl RefUnwindSafe for ReadStreamExactResult
impl Send for ReadStreamExactResult
impl Sync for ReadStreamExactResult
impl Unpin for ReadStreamExactResult
impl UnwindSafe for ReadStreamExactResult
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