Struct http_body::combinators::UnsyncBoxBody [−][src]
pub struct UnsyncBoxBody<D, E> { /* fields omitted */ }
Expand description
A boxed Body
trait object that is !Sync.
Implementations
Trait Implementations
type Data = D
type Data = D
Values yielded by the Body
.
type Error = E
type Error = E
The error type this Body
might generate.
Attempt to pull out the next data buffer of this stream.
Poll for an optional single HeaderMap
of trailers. Read more
Returns true
when the end of stream has been reached. Read more
Returns the bounds on the remaining length of the stream. Read more
Returns future that resolves to next data chunk, if any.
Returns future that resolves to trailers, if any.
Maps this body’s data value to a different value.
Maps this body’s error value to a different value.
Turn this body into a boxed trait object.
fn boxed_unsync(self) -> UnsyncBoxBody<Self::Data, Self::Error> where
Self: Sized + Send + 'static,
fn boxed_unsync(self) -> UnsyncBoxBody<Self::Data, Self::Error> where
Self: Sized + Send + 'static,
Turn this body into a boxed trait object that is !Sync.