Function fidl::standalone_encode_value

source ยท
pub fn standalone_encode_value<T: Persistable>(
    body: &T,
) -> Result<(Vec<u8>, WireMetadata)>
where for<'a> T::Borrowed<'a>: Encode<T, NoHandleResourceDialect>,
Expand description

Encodes a FIDL object to bytes and wire metadata following RFC-0120. Must be a non-resource struct, table, or union.