pub struct CompatReqBody<B, C> { /* private fields */ }Implementations§
Source§impl<B, C> CompatReqBody<B, C>
impl<B, C> CompatReqBody<B, C>
Trait Implementations§
Source§impl<B, C> Body for CompatReqBody<B, C>
impl<B, C> Body for CompatReqBody<B, C>
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 frame of this stream. Read more
Source§fn size_hint(&self) -> SizeHint
fn size_hint(&self) -> SizeHint
A hint that returns the bounds on the remaining length of the stream. Read more
Source§fn is_end_stream(&self) -> bool
fn is_end_stream(&self) -> bool
A hint that may return
true when the end of stream has been reached. Read moreAuto Trait Implementations§
impl<B, C> Freeze for CompatReqBody<B, C>
impl<B, C> RefUnwindSafe for CompatReqBody<B, C>
impl<B, C> Send for CompatReqBody<B, C>
impl<B, C> Sync for CompatReqBody<B, C>
impl<B, C> Unpin for CompatReqBody<B, C>
impl<B, C> UnsafeUnpin for CompatReqBody<B, C>
impl<B, C> UnwindSafe for CompatReqBody<B, C>
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