Module string

Source

Structs§

Base64
Wraps a binary codec and make it a string codec by representing the binary data as a base64 string.
FromToStringCodec
A string codec that relies on FromStr and ToString. It can encode anything that implements ToString and decode anything that implements FromStr.
JsonSerdeCodec
A codec for encoding JSON messages that relies on serde_json.
JsonSerdeWasmCodec
A codec for encoding with serde_json and decoding using [serde-wasm-bindgen].
MiniserdeCodec
A codec that relies on miniserde to encode data in the json format.
OptionCodec
Wraps a string codec that encodes T to create a codec that encodes Option<T>.

Enums§

Base64DecodeError