Crate qp2p[][src]

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

Structs

Config

QuicP2p configurations

DisconnectionEvents

Disconnection

Endpoint

Endpoint instance which can be used to create connections to peers, and listen to incoming messages from other peers.

IncomingConnections

Channel on which incoming connections are notified on

IncomingMessages

Channel on which incoming messages can be listened to

QuicP2p

Main QuicP2p instance to communicate with QuicP2p using an async API

RecvStream

Stream to receive multiple messages

SendStream

Stream of outgoing messages

Enums

ConnectionError

Reasons why a connection might be lost.

Error

Error types returned by the qp2p public API.

Type Definitions

Result

Result used by QuicP2p.