Struct rocket::response::content::MsgPack [−][src]
pub struct MsgPack<R>(pub R);
Expand description
Override the Content-Type
of the response to
MessagePack
, or
application/msgpack
.
Delegates the remainder of the response to the wrapped responder.
Tuple Fields
0: R
Trait Implementations
Sets the Content-Type of the response then delegates the remainder of the response to the wrapped responder.
Auto Trait Implementations
impl<R> RefUnwindSafe for MsgPack<R> where
R: RefUnwindSafe,
impl<R> UnwindSafe for MsgPack<R> where
R: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more