[][src]Module candid::ser

Serialize a Rust data structure to Candid binary format

Structs

Compound
IDLBuilder

Use this struct to serialize a sequence of Rust values (heterogeneous) to IDL binary message.

TypeSerialize

A structure for serializing Rust values to IDL types.

ValueSerializer

A structure for serializing Rust values to IDL.

Traits

ArgumentEncoder

Allow encoding of any serializable value.

Functions

encode_args

Serialize an encoding of a tuple to a vector of bytes.

encode_one

Serialize a single value to a vector of bytes.

write_args

Serialize an encoding of a tuple and write it to a [Write] buffer.