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§

Bincode
Encode and decode data as bincode using bincode.
Json
Encode and decode data as JSON using serde_json.
Postcard
Encode and decode data as postcard using postcard.
Yaml
Encode and decode data as YAML using serde_yaml.

Traits§

Decodable
Determines how a response is decoded.
Encodable
Determines how a request is encoded.