Skip to main content

encode_datagram

Function encode_datagram 

Source
pub fn encode_datagram<T: Framer>(
    frame: &Frame<T>,
    limit: Option<u32>,
) -> Result<Bytes, SessionError>
Expand description

r[impl jetstream.session.datagrams] Encode a frame for the datagram channel, refusing one the path cannot carry.