Available on crate feature
quinn-transport
only.Expand description
QUIC transport implementation based on quinn
Structs§
- Quinn
Connector - A connection using a quinn connection
- Quinn
Listener - A listener using a quinn connection
- Recv
Stream - A stream that wraps a quinn RecvStream with length delimiting and postcard
- Send
Sink - A sink that wraps a quinn SendStream with length delimiting and postcard
Enums§
- Create
Channel Error - CreateChannelError for quinn channels.
Functions§
- configure_
client - Builds default quinn client config and trusts given certificates.
- configure_
server - Create a quinn server config with a self-signed certificate
- get_
handshake_ data - Get the handshake data from a quinn connection that uses rustls.
- make_
client_ endpoint - Constructs a QUIC endpoint configured for use a client only.
- make_
insecure_ client_ endpoint - Constructs a QUIC endpoint that trusts all certificates.
- make_
server_ endpoint - Create a server endpoint with a self-signed certificate
Type Aliases§
- Accept
Error - Error for accept. Currently just a quinn::ConnectionError
- Open
Error - Error for open. Currently just a quinn::ConnectionError