[−][src]Crate qp2p
qp2p enables communication within a peer to peer network over the QUIC protocol.
Structs
Config | QuicP2p configurations |
Connection | Connection instance to a node which can be used to send messages to it |
Endpoint | Endpoint instance which can be used to create connections to peers, and listen to incoming messages from other peers. |
IncomingConnections | Stream of incoming QUIC connections |
IncomingMessages | Stream of incoming QUIC messages |
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 | |
Message | Message received from a peer |
Type Definitions
Result | Result used by |