pub struct Receiver<E> { /* private fields */ }
Expand description
Buffered stream of byte chunks
Payload stores chunks in a vector. Chunks can be received with
.read()
method.
Implementations§
Trait Implementations§
Source§impl<E> Stream for Receiver<E>
impl<E> Stream for Receiver<E>
Auto Trait Implementations§
impl<E> Freeze for Receiver<E>
impl<E> !RefUnwindSafe for Receiver<E>
impl<E> !Send for Receiver<E>
impl<E> !Sync for Receiver<E>
impl<E> Unpin for Receiver<E>
impl<E> !UnwindSafe for Receiver<E>
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