Struct BodyDataStream
struct BodyDataStream { ... }
A stream of data frames.
Created with Body::into_data_stream.
Implementations
impl Body for BodyDataStream
fn poll_frame(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Result<Frame<<Self as >::Data>, <Self as >::Error>>>fn is_end_stream(self: &Self) -> boolfn size_hint(self: &Self) -> http_body::SizeHint
impl Debug for BodyDataStream
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Freeze for BodyDataStream
impl RefUnwindSafe for BodyDataStream
impl Send for BodyDataStream
impl Stream for BodyDataStream
fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<<Self as >::Item>>fn size_hint(self: &Self) -> (usize, Option<usize>)
impl Sync for BodyDataStream
impl Unpin for BodyDataStream
impl UnwindSafe for BodyDataStream
impl<S, T, E> TryStream for BodyDataStream
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 BodyDataStream
fn type_id(self: &Self) -> TypeId
impl<T> BodyExt for BodyDataStream
impl<T> Borrow for BodyDataStream
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for BodyDataStream
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for BodyDataStream
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for BodyDataStream
impl<T> WithSubscriber for BodyDataStream
impl<T, U> Into for BodyDataStream
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 BodyDataStream
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for BodyDataStream
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>