salvo_core::proto

Module quic

source
Available on crate feature quinn only.
Expand description

QUIC Transport traits

This module includes traits and types meant to allow being generic over any QUIC implementation.

Structs§

  • Invalid StreamId, for example because it’s too large
  • Identifier for a stream
  • Wrap frames to encode their header on the stack before sending them on the wire

Traits§

  • Optional trait to allow “splitting” a bidirectional stream into two sides.
  • Trait representing a QUIC connection.
  • Trait that represent an error from the transport layer
  • Trait for opening outgoing streams
  • Extends the Connection trait for receiving datagrams
  • A trait describing the “receive” actions of a QUIC stream.
  • Extends the Connection trait for sending datagrams
  • A trait describing the “send” actions of a QUIC stream.
  • Allows sending unframed pure bytes to a stream. Similar to AsyncWrite