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