Skip to main content

encode_for_write

Function encode_for_write 

Source
pub fn encode_for_write(
    owner: &str,
    schema: u32,
    data: &Value,
    legacy: bool,
) -> Value
Expand description

The value to store: the envelope, or — when legacy (a mixed-version cluster whose older members cannot read the envelope yet) — the bare payload.