Crate network_clique
source ·Expand description
A network for maintaining direct connections between all nodes.
Modules§
Structs§
- Implementation of the Dialer trait governing all returned Dialer::Connection instances by a rate-limiting wrapper.
- Implementation of the Listener trait governing all returned Listener::Connection instances by a rate-limiting wrapper.
- A service that has to be run for the clique network to work.
Constants§
Traits§
- Represents the address of an arbitrary node.
- Reports address of the peer that we are connected to.
- A basic alias for properties we expect basic data to satisfy.
- Can use addresses to connect to a peer.
- Accepts new connections. Usually will be created listening on a specific interface and this is just the result.
- Network represents an interface for opening and closing connections with other nodes, and sending direct messages between them.
- Abstraction for requesting own network addressing information.
- Represents the id of an arbitrary node.
- A public key for signature verification.
- Secret key for signing messages, with an associated public key.
- Trait abstracting spawning tasks
- A stream that can be split into a sending and receiving part.