Crate fidl_codec

Source

Modules§

library

Macros§

vobject
Helper macro for constructing Value objects. Object body is similar to a Rust struct body, and field values are automatically converted to Value via the From trait.
vunion
Helper macro for constructing Value::Union values.

Enums§

Error
Error type used by the codec.
Value
Our internal neutral form for FIDL values.

Functions§

decode
Decode a FIDL value.
decode_request
Decode a FIDL request from a byte buffer and a list of handles.
decode_response
Decode a FIDL response from a byte buffer and a list of handles.
encode
Serialize a value into a FIDL serialized value.
encode_request
Serialize a value into a FIDL request.
encode_response
Serialize a value into a FIDL response.