Skip to main content

encode_flow_state

Function encode_flow_state 

Source
pub fn encode_flow_state(
    sender: NodeId,
    session: LinkSessionId,
    state: FlowState,
    output: &mut [u8],
    limits: WireLimits,
) -> Result<ControlEncoding, WireError>
Expand description

Encode a REPLICA_STATE response/notification without allocating or granting authority. Local retention bounds are independent of the maximum size of one wire frame.