pub fn encode( ns: &Namespace, type_name: &str, nullable: bool, value: Value, ) -> Result<(Vec<u8>, Vec<HandleDisposition<'static>>), Error>
Serialize a value into a FIDL serialized value.