Module msgpack
rocket_contrib
Automatic MessagePack (de)serialization support.
See the MsgPack type for further details.
MsgPack
This module is only available when the msgpack feature is enabled. Enable it in Cargo.toml as follows:
msgpack
Cargo.toml
[dependencies.rocket_contrib] version = "0.4.10" default-features = false features = ["msgpack"]
The MsgPack type: implements FromData and Responder, allowing you to easily consume and respond with MessagePack data.
FromData
Responder
Enum representing errors that can occur while decoding MessagePack data.