Crate qp2p[][src]

Expand description

qp2p enables communication within a peer to peer network over the QUIC protocol.

Structs

QuicP2p configurations

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

Main QuicP2p instance to communicate with QuicP2p using an async API

Stream to receive multiple messages

Stream of outgoing messages

Enums

Reasons why a connection might be lost

Error types returned by the qp2p public API.

Type Definitions

Result used by QuicP2p.