Skip to main content

QuicTransportSend

Trait QuicTransportSend 

Source
pub trait QuicTransportSend: AsyncWrite {
    // Required method
    fn reset(&mut self, code: u64);
}
Expand description

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

Required Methods§

Source

fn reset(&mut self, code: u64)

Close the send stream immediately with the provided error code.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§