Skip to main content

probe

Function probe 

Source
pub fn probe(
    idl: &str,
    type_name: &str,
    values: &Value,
    encoding: Encoding,
    endianness: Endianness,
) -> Result<Vec<u8>, ProbeError>
Expand description

Shorthand for the common case: one IDL source, one type, one value.

§Errors

As encode, plus the frontend’s own diagnostics.