Re-exports§
pub use error::Error;
pub use error::Error as NetworkError;
pub use constants::CLOSE_GROUP_SIZE;
Modules§
- constants
- Constants
- error
- Errors.
- messages
- Messages types Data messages and their possible responses.
- node_
rpc - RPC commands to node
- storage
- Storage types for GraphEntry and Chunk
- version
- Network versioning
Structs§
- Bytes
- Re-export of Bytes used throughout the protocol A cheaply cloneable and sliceable chunk of contiguous memory.
- Pretty
PrintK Bucket Key - Pretty print a
kad::KBucketKey
as a hex string. - Pretty
Print Record Key - Provides a hex representation of a
kad::RecordKey
.
Enums§
- Network
Address - This is the address in the network by which proximity/distance to other items (whether nodes or data chunks) are calculated.
Functions§
- get_
port_ from_ multiaddr - Returns the UDP port from the provided MultiAddr.