pub fn encode_datagram<T: Framer>( frame: &Frame<T>, limit: Option<u32>, ) -> Result<Bytes, SessionError>
r[impl jetstream.session.datagrams] Encode a frame for the datagram channel, refusing one the path cannot carry.