pub fn standalone_encode_value<T: Persistable>(
body: &T,
) -> Result<(Vec<u8>, WireMetadata)>
Expand description
Encodes a FIDL object to bytes and wire metadata following RFC-0120. Must be a non-resource struct, table, or union.
pub fn standalone_encode_value<T: Persistable>(
body: &T,
) -> Result<(Vec<u8>, WireMetadata)>
Encodes a FIDL object to bytes and wire metadata following RFC-0120. Must be a non-resource struct, table, or union.