Skip to main content

encode

Function encode 

Source
pub fn encode(
    ast: &Ast,
    request: &ProbeRequest,
    values: &Value,
) -> Result<Vec<u8>, ProbeError>
Expand description

Serialise values as request.type_name. See zerodds_wire_codec::encode::encode.

§Errors

ProbeError, always naming the path in the value.

zerodds-lint: recursion-depth 1 — this does not recurse. The one call it makes is zerodds_wire_codec::encode::encode, and the lint reads a path call by its last segment. See the module note.