fidl_codec

Function encode_request

Source
pub fn encode_request(
    ns: &Namespace,
    txid: u32,
    protocol_name: &str,
    method_name: &str,
    value: Value,
) -> Result<(Vec<u8>, Vec<HandleDisposition<'static>>), Error>
Expand description

Serialize a value into a FIDL request.