pub fn dgram_max_writable_len(
        &self, conn: &super::Connection, flow_id: u64,
    ) -> Option<usize> {
        let flow_id_len = octets::varint_len(flow_id);
        match conn.dgram_max_writable_len() {
            None => None,
            Some(len) => len.checked_sub(flow_id_len),
        }
    }
/// Returns the maximum HTTP/3 DATAGRAM payload that can be sent.
Returns the maximum HTTP/3 DATAGRAM payload that can be sent.
Returns the maximum HTTP / 3 DATAGRAM payload that can be sent .
pub fn dgram_max_writable_len(
        &self, conn: &super::Connection, flow_id: u64,
    ) -> Option<usize> {
        let flow_id_len = octets::varint_len(flow_id);
        match conn.dgram_max_writable_len() {
            None => None,
            Some(len) => len.checked_sub(flow_id_len),
        }
    }
pub fn dgram_max_writable_len ( & self , conn : & super :: Connection , flow_id : u64 , ) -> Option < usize > { let flow_id_len = octets :: varint_len ( flow_id ) ; match conn . dgram_max_writable_len ( ) { None => None , Some ( len ) => len . checked_sub ( flow_id_len ) , } }
Returns the maximum HTTP/3 DATAGRAM payload that can be sent.
Returns the maximum HTTP / 3 DATAGRAM payload that can be sent .
&self
conn
&super::Connection
flow_id
u64
&self
conn
&super::Connection
flow_id
u64