Function fidl::standalone_encode_value
source ยท 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.