pub trait Bufferer<InBody: Body> {
type Buffered: AsBuf;
type Error;
// Required method
fn buffer(
&self,
body: InBody,
) -> impl Future<Output = Result<Self::Buffered, Self::Error>>;
}Expand description
The ability to buffer and validate an http_body::Body.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.