[][src]Module rocket_contrib::msgpack

Automatic MessagePack (de)serialization support.

See the MsgPack type for further details.

Enabling

This module is only available when the msgpack feature is enabled. Enable it in Cargo.toml as follows:

[dependencies.rocket_contrib]
version = "0.4.0"
default-features = false
features = ["msgpack"]

Structs

MsgPack

The MsgPack type: implements FromData and Responder, allowing you to easily consume and respond with MessagePack data.

Enums

Error

Enum representing errors that can occur while decoding MessagePack data.