Module quinn

Source
Available on crate feature quinn-transport only.
Expand description

QUIC transport implementation based on quinn

Structs§

QuinnConnector
A connection using a quinn connection
QuinnListener
A listener using a quinn connection
RecvStream
A stream that wraps a quinn RecvStream with length delimiting and postcard
SendSink
A sink that wraps a quinn SendStream with length delimiting and postcard

Enums§

CreateChannelError
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§

AcceptError
Error for accept. Currently just a quinn::ConnectionError
OpenError
Error for open. Currently just a quinn::ConnectionError