Trait actix_http::body::MessageBody[][src]

pub trait MessageBody {
    fn size(&self) -> BodySize;
fn poll_next(
        self: Pin<&mut Self>,
        cx: &mut Context<'_>
    ) -> Poll<Option<Result<Bytes, Error>>>; }
Expand description

Type that provides this trait can be streamed to a peer.

Required methods

Implementations

Downcasts generic body to a specific type.

Downcasts a generic body to a mutable specific type.

Implementations on Foreign Types

Implementors