Expand description
qp2p enables communication within a peer to peer network over the QUIC protocol.
Structs
- The sending API for a connection.
- Endpoint instance which can be used to communicate with peers.
- Build a
crate::Endpoint
- Channel on which incoming connections are notified on
- An internal configuration error encountered by
Endpoint
connect methods. - The receiving API for a bidirectional QUIC stream.
- The sending API for a QUIC stream.
- An opaque error code indicating a transport failure.
- An error caused by an unsupported operation.
- Final type serialised and sent on the wire by
QuicP2p
The message bytes that comprise the message, These are (header, dst, payload) bytes to be passed to qp2p
Enums
- Various error related to certificates. Should mostly occur due to bugs, not runtime constraints.
- The reason a connection was closed.
- Errors that can cause connection loss.
- Errors returned from the endpoint builder (
crate::EndpointBuilder::server
). - Errors that can occur when receiving messages.
- Errors that can occur when performing an RPC operation.
- Errors that can occur when sending messages.
- Errors that can occur when interacting with streams.
Type Definitions
- The message bytes that comprise the message, These are (header, dst, payload) bytes to be passed to qp2p