pub fn accept_with_buf_factory<F: BufFactory>(
scid: &ConnectionId<'_>,
odcid: Option<&ConnectionId<'_>>,
local: SocketAddr,
peer: SocketAddr,
config: &mut Config,
) -> Result<Connection<F>>Expand description
Creates a server-side connection with custom buffer generation.
The buffers generated can be anything that can be dereferenced as a byte
slice. See accept and BufFactory for more information.