Skip to main content

QuicTransportReceive

Trait QuicTransportReceive 

Source
pub trait QuicTransportReceive: AsyncRead {
    // Required method
    fn stop(&mut self, code: u64);
}
Expand description

Abstraction over the inbound half of a QUIC stream (both bidi and inbound uni)

Required Methods§

Source

fn stop(&mut self, code: u64)

Stop a receive stream, signaling an error code to the peer.

Implementors§