pub fn new_boxed<B>(body: B) -> Self
    where
        B: MessageBody + 'static,
    {
        Self::Body { body: body.boxed() }
    }
/// Create boxed body from generic message body.
Create boxed body from generic message body.
Create boxed body from generic message body .
pub fn new_boxed<B>(body: B) -> Self
    where
        B: MessageBody + 'static,
    {
        Self::Body { body: body.boxed() }
    }
pub fn new_boxed < B > ( body : B ) -> Self where B : MessageBody + ' static , { Self :: Body { body : body . boxed ( ) } }
Create boxed body from generic message body.
Create boxed body from generic message body .
body
B
body
B