Struct actix_web::body::BoxBody [−][src]
pub struct BoxBody(_);
Expand description
A boxed message body with boxed errors.
Implementations
Boxes a MessageBody
and any errors it generates.
pub fn as_pin_mut(
&mut self
) -> Pin<&mut dyn MessageBody<Error = Box<dyn Error + 'static, Global>>>
pub fn as_pin_mut(
&mut self
) -> Pin<&mut dyn MessageBody<Error = Box<dyn Error + 'static, Global>>>
Returns a mutable pinned reference to the inner message body type.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for BoxBody
impl !UnwindSafe for BoxBody
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more