Skip to main content

attach_siblings

Function attach_siblings 

Source
pub(super) fn attach_siblings(
    response: &mut Value,
    siblings: &[Value],
    budget: usize,
)
Expand description

Set response["siblings"] to as many of siblings as keep the serialized reply within budget bytes. Always present, empty when there are none, so a client can tell “no siblings” from “a build that does not send them”.