Skip to main content

encode_fetch

Function encode_fetch 

Source
pub fn encode_fetch(
    sender: NodeId,
    session: LinkSessionId,
    request: FetchOps,
    metadata: &mut [u8],
    limits: WireLimits,
) -> Result<ControlEncoding, WireError>
Expand description

Encode a correlated request without allocating or modifying output on error.

Response limits are upper bounds, not allocation instructions. The source also bounds each read/response by its own storage, scheduling, and wire limits.