Trait actix_web::body::MessageBody [−][src]
pub trait MessageBody {
type Error;
fn size(&self) -> BodySize;
fn poll_next(
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Option<Result<Bytes, Self::Error>>>;
}
Expand description
An interface for response bodies.