pub fn persist<T: Persistable>(body: &T) -> Result<Vec<u8>>
Encodes a FIDL object to bytes following RFC-0120. This only works on non-resource structs, tables, and unions. See unpersist for the reverse.
unpersist