pub trait BodyDynwhere
Self: Send + 'static,{
// Required methods
fn poll_data(
self: Pin<&mut Self>,
_context: &mut Context<'_>,
) -> Poll<Option<ServerResult<Bytes>>>;
fn poll_trailers(
self: Pin<&mut Self>,
_context: &mut Context<'_>,
) -> Poll<ServerResult<Option<Headers>>>;
fn is_end_stream(&self) -> bool;
fn size_hint(&self) -> BodySizeHint;
}