Crate qp2p[−][src]
Expand description
qp2p enables communication within a peer to peer network over the QUIC protocol.
Re-exports
Modules
Configuration for Endpoint
s.
Structs
Disconnection events, and the result that led to disconnection.
Endpoint instance which can be used to create connections to peers, and listen to incoming messages from other peers.
Channel on which incoming connections are notified on
Channel on which incoming messages can be listened to
An internal configuration error encountered by Endpoint
connect methods.
Stream to receive multiple messages
Stream of outgoing messages
Failed to (de)serialize message.
An opaque error code indicating a transport failure.
An error caused by an unsupported operation.
Failed to establish UPnP port forwarding.
Enums
Errors returned by Endpoint::new_client
.
The reason a connection was closed.
Errors that can cause connection loss.
Errors returned from Endpoint::new
.
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.
Traits
Unique key identifying a connection. Two connections will always have distict keys even if they have the same socket address.