Skip to main content

split

Function split 

Source
pub fn split(
    send: SendStream,
    recv: RecvStream,
) -> (Compat<RecvStream>, Compat<SendStream>)
Expand description

Wrap a quinn pair into the futures-io halves capnp + our framing code expects.