Expand description
Utilities
This module contains utilities to read and write varints, as well as functions to set up quinn endpoints for local rpc and testing.
Traits§
- Async
Read Varint Ext rpcorvarint-util - Provides a fn to read a varint from an AsyncRead source.
- Async
Write Varint Ext rpcorvarint-util - Provides a fn to write a varint to an
io::Writetarget, as well as a helper to write a length-prefixed value. - Write
Varint Ext rpcorvarint-util - Provides a fn to write a varint to an
io::Writetarget, as well as a helper to write a length-prefixed value.
Functions§
- configure_
client quinn_endpoint_setup - Create a quinn client config and trusts given certificates.
- configure_
client_ insecure quinn_endpoint_setup - Create a quinn client config and trust all certificates.
- configure_
server quinn_endpoint_setup - Create a quinn server config with a self-signed certificate
- make_
client_ endpoint Non-WebAssembly - Constructs a QUIC endpoint configured for use a client only.
- make_
insecure_ client_ endpoint Non-WebAssembly - Constructs a QUIC endpoint configured for use a client only that trusts all certificates.
- make_
server_ endpoint Non-WebAssembly - Constructs a QUIC server endpoint with a self-signed certificate