Skip to main content

encode_user_literal_with_payloads

Function encode_user_literal_with_payloads 

Source
pub fn encode_user_literal_with_payloads(
    literal: &Literal,
) -> (EncodedTerm, Vec<(StrHash, Vec<u8>)>)
Expand description

encode_user_literal with the mint’s payload pairs retained — the form every seeding site uses (the term-only wrapper serves matching and comparison sites that never decode). The pairs are the only copy of a query constant’s blob payload; see EncodePlugin::encode_literal.