pub enum StreamRead {
Chunk(usize),
Wait,
End,
}Expand description
One source observation.
Variants§
Chunk(usize)
One chunk was initialized in the supplied scratch prefix.
Wait
The source was observed but produced no chunk in this turn.
End
The finite source reached end-of-stream.
Trait Implementations§
Source§impl Clone for StreamRead
impl Clone for StreamRead
Source§fn clone(&self) -> StreamRead
fn clone(&self) -> StreamRead
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StreamRead
Source§impl Debug for StreamRead
impl Debug for StreamRead
impl Eq for StreamRead
Source§impl PartialEq for StreamRead
impl PartialEq for StreamRead
impl StructuralPartialEq for StreamRead
Auto Trait Implementations§
impl Freeze for StreamRead
impl RefUnwindSafe for StreamRead
impl Send for StreamRead
impl Sync for StreamRead
impl Unpin for StreamRead
impl UnsafeUnpin for StreamRead
impl UnwindSafe for StreamRead
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