Module client

Source

Re-exports§

pub use handshaker::DoHandshakeRequest;
pub use handshaker::HandshakeError;
pub use handshaker::HandshakerBuilder;

Modules§

handshaker
Handshake Module

Structs§

Client
This represents a connection to a peer.
ConnectRequest
A request to connect to a peer.
Connector
The connector service, this service connects to peer and returns the Client.
PeerInformation
Information on a connected peer.
WeakClient
A weak handle to a Client.

Enums§

InternalPeerID
An internal identifier for a given peer, will be their address if known or a random u128 if not.

Functions§

mock_client
Creates a mock Client for testing purposes.