Struct BodyStream
struct BodyStream<B> { ... }
A stream created from a Body.
Implementations
impl<B> BodyStream<B>
fn new(body: B) -> SelfCreate a new
BodyStream.
impl<'__pin, B> Unpin for BodyStream<B>
impl<B> Body for BodyStream<B>
fn poll_frame(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Result<Frame<<Self as >::Data>, <Self as >::Error>>>
impl<B> Freeze for BodyStream<B>
impl<B> RefUnwindSafe for BodyStream<B>
impl<B> Send for BodyStream<B>
impl<B> Stream for BodyStream<B>
fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<<Self as >::Item>>
impl<B> Sync for BodyStream<B>
impl<B> UnsafeUnpin for BodyStream<B>
impl<B> UnwindSafe for BodyStream<B>
impl<B: $crate::clone::Clone> Clone for BodyStream<B>
fn clone(self: &Self) -> BodyStream<B>
impl<B: $crate::fmt::Debug> Debug for BodyStream<B>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<B: $crate::marker::Copy> Copy for BodyStream<B>
impl<S, T, E> TryStream for BodyStream<B>
fn try_poll_next(self: Pin<&mut S>, cx: &mut Context<'_>) -> Poll<Option<Result<<S as TryStream>::Ok, <S as TryStream>::Error>>>
impl<T> Any for BodyStream<B>
fn type_id(self: &Self) -> TypeId
impl<T> BodyExt for BodyStream<B>
impl<T> Borrow for BodyStream<B>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for BodyStream<B>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for BodyStream<B>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for BodyStream<B>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for BodyStream<B>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for BodyStream<B>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for BodyStream<B>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for BodyStream<B>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>