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