Module rocket_contrib::msgpack

source ·
Expand description

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.11"
default-features = false
features = ["msgpack"]

Structs§

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

Enums§

  • Enum representing errors that can occur while decoding MessagePack data.