pub trait BodyExt: Body {
// Provided methods
fn frame(&mut self) -> FrameFuture<'_, Self>
where Self: Unpin { ... }
fn data(&mut self) -> DataFuture<'_, Self>
where Self: Unpin { ... }
fn chain<B>(self, other: B) -> ChainBody<Self, B>
where B: Body<Data = Self::Data>,
Self: Sized,
Self::Error: From<B::Error> { ... }
}Provided Methods§
fn frame(&mut self) -> FrameFuture<'_, Self>where
Self: Unpin,
fn data(&mut self) -> DataFuture<'_, Self>where
Self: Unpin,
fn chain<B>(self, other: B) -> ChainBody<Self, B>
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.