pub(crate) struct H3Reader<C> {
recv: RequestStream<RecvStream, Bytes>,
buf: ByteBuffer,
codec: C,
}Expand description
Reads codec frames from the recv half of an HTTP/3 request stream. One read may hold part of a frame or several frames.
Fields§
§recv: RequestStream<RecvStream, Bytes>§buf: ByteBuffer§codec: CImplementations§
Auto Trait Implementations§
impl<C> !Freeze for H3Reader<C>
impl<C> !RefUnwindSafe for H3Reader<C>
impl<C> !UnwindSafe for H3Reader<C>
impl<C> Send for H3Reader<C>where
C: Send,
impl<C> Sync for H3Reader<C>where
C: Sync,
impl<C> Unpin for H3Reader<C>where
C: Unpin,
impl<C> UnsafeUnpin for H3Reader<C>where
C: UnsafeUnpin,
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