pub trait BufferedToBody {
type Buffered;
type Body: Body;
// Required method
fn buffered_to_body(buffered: Self::Buffered) -> Self::Body;
}Expand description
Conversion of a buffered type into a body.
Required Associated Types§
Required Methods§
Sourcefn buffered_to_body(buffered: Self::Buffered) -> Self::Body
fn buffered_to_body(buffered: Self::Buffered) -> Self::Body
Consume buffered and turn it into a body.
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.