pub fn new<B>(body: B) -> Self
    where
        B: MessageBody + 'static,
    {
        let body = MessageBodyMapErr::new(body, Into::into);
        Self(Box::pin(body))
    }
/// Boxes a `MessageBody` and any errors it generates.
Boxes a `MessageBody` and any errors it generates.
Boxes a ` MessageBody ` and any errors it generates .
pub fn new<B>(body: B) -> Self
    where
        B: MessageBody + 'static,
    {
        let body = MessageBodyMapErr::new(body, Into::into);
        Self(Box::pin(body))
    }
pub fn new < B > ( body : B ) -> Self where B : MessageBody + ' static , { let body = MessageBodyMapErr :: new ( body , Into :: into ) ; Self ( Box :: pin ( body ) ) }
Boxes a `MessageBody` and any errors it generates.
Boxes a ` MessageBody ` and any errors it generates .
body
B