Skip to main content

encode_server_push

Function encode_server_push 

Source
pub fn encode_server_push(push: ServerPush) -> Result<Frame, CodecError>
Expand description

Encodes one crate-produced server push into the participant generic frame on the protocol-owned generic stream zero.

ยงErrors

Returns the shared codec error if the typed push cannot be encoded.