Crate restless_data
source ·Expand description
§restless data
This crate encodes several strategies for encoding and decoding data from requests and response bodies.
As a consumer of restless
, you should not depend on this crate directly, but rather on the
main restless
crate and turn on the prerequisite features.
Structs§
- Encode and decode data as bincode using
bincode
. - Encode and decode data as JSON using
serde_json
. - Encode and decode data as postcard using
postcard
. - Encode and decode data as YAML using
serde_yaml
.
Traits§
- Determines how a response is decoded.
- Determines how a request is encoded.