[−][src]Trait actix_web::dev::MessageBody
Type that provides this trait can be streamed to a peer.
Required methods
fn size(&self) -> BodySize
fn poll_next(&mut self, cx: &mut Context) -> Poll<Option<Result<Bytes, Error>>>
Implementations on Foreign Types
impl MessageBody for String[src]
fn size(&self) -> BodySize[src]
fn poll_next(&mut self, &mut Context) -> Poll<Option<Result<Bytes, Error>>>[src]
impl<B> MessageBody for Encoder<B> where
B: MessageBody, [src]
B: MessageBody,
fn size(&self) -> BodySize[src]
fn poll_next(&mut self, cx: &mut Context) -> Poll<Option<Result<Bytes, Error>>>[src]
impl MessageBody for &'static [u8][src]
fn size(&self) -> BodySize[src]
fn poll_next(&mut self, &mut Context) -> Poll<Option<Result<Bytes, Error>>>[src]
impl MessageBody for Vec<u8>[src]
fn size(&self) -> BodySize[src]
fn poll_next(&mut self, &mut Context) -> Poll<Option<Result<Bytes, Error>>>[src]
impl<T> MessageBody for Box<T> where
T: MessageBody, [src]
T: MessageBody,
fn size(&self) -> BodySize[src]
fn poll_next(&mut self, cx: &mut Context) -> Poll<Option<Result<Bytes, Error>>>[src]
impl MessageBody for &'static str[src]
fn size(&self) -> BodySize[src]
fn poll_next(&mut self, &mut Context) -> Poll<Option<Result<Bytes, Error>>>[src]
impl MessageBody for ()[src]
fn size(&self) -> BodySize[src]
fn poll_next(&mut self, &mut Context) -> Poll<Option<Result<Bytes, Error>>>[src]
Implementors
impl MessageBody for Body[src]
fn size(&self) -> BodySize[src]
fn poll_next(&mut self, cx: &mut Context) -> Poll<Option<Result<Bytes, Error>>>[src]
impl MessageBody for Bytes[src]
fn size(&self) -> BodySize[src]
fn poll_next(&mut self, &mut Context) -> Poll<Option<Result<Bytes, Error>>>[src]
impl MessageBody for BytesMut[src]
fn size(&self) -> BodySize[src]
fn poll_next(&mut self, &mut Context) -> Poll<Option<Result<Bytes, Error>>>[src]
impl<B> MessageBody for ResponseBody<B> where
B: MessageBody, [src]
B: MessageBody,
fn size(&self) -> BodySize[src]
fn poll_next(&mut self, cx: &mut Context) -> Poll<Option<Result<Bytes, Error>>>[src]
impl<S> MessageBody for SizedStream<S> where
S: Stream<Item = Result<Bytes, Error>>, [src]
S: Stream<Item = Result<Bytes, Error>>,
fn size(&self) -> BodySize[src]
fn poll_next(&mut self, cx: &mut Context) -> Poll<Option<Result<Bytes, Error>>>[src]
impl<S, E> MessageBody for BodyStream<S, E> where
E: Into<Error>,
S: Stream<Item = Result<Bytes, E>>, [src]
E: Into<Error>,
S: Stream<Item = Result<Bytes, E>>,