pub struct H3IncomingClient<S, B>where
B: Buf,
S: RecvStream,{ /* private fields */ }Implementations§
Source§impl<S, B> H3IncomingClient<S, B>where
B: Buf,
S: RecvStream,
impl<S, B> H3IncomingClient<S, B>where
B: Buf,
S: RecvStream,
pub fn new(s: RequestStream<S, B>) -> Self
Trait Implementations§
Source§impl<S, B> Body for H3IncomingClient<S, B>where
B: Buf,
S: RecvStream,
impl<S, B> Body for H3IncomingClient<S, B>where
B: Buf,
S: RecvStream,
Source§type Error = StreamError
type Error = StreamError
The error type this
Body might generate.Source§fn poll_frame(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<Option<Result<Frame<Self::Data>, Self::Error>>>
fn poll_frame( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<Option<Result<Frame<Self::Data>, Self::Error>>>
Attempt to pull out the next data buffer of this stream.
Source§fn is_end_stream(&self) -> bool
fn is_end_stream(&self) -> bool
Returns
true when the end of stream has been reached. Read moreAuto Trait Implementations§
impl<S, B> !Freeze for H3IncomingClient<S, B>
impl<S, B> !RefUnwindSafe for H3IncomingClient<S, B>
impl<S, B> Send for H3IncomingClient<S, B>
impl<S, B> Sync for H3IncomingClient<S, B>
impl<S, B> Unpin for H3IncomingClient<S, B>
impl<S, B> !UnwindSafe for H3IncomingClient<S, B>
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