Expand description
Network core functionality Network module
This module provides core networking functionality for the P2P Foundation. It handles peer connections, network events, and node lifecycle management.
Structs§
- DHTConfig
- DHT-specific configuration
- Node
Builder - Builder pattern for creating P2P nodes
- Node
Config - Configuration for a P2P node
- P2PNetwork
Sender - Lightweight wrapper for P2PNode to implement NetworkSender
- P2PNode
- Main P2P node structure Main P2P network node that manages connections, routing, and communication
- Peer
Info - Information about a connected peer
- Security
Config - Security configuration
Enums§
- Connection
Status - Connection status for a peer
- Network
Event - Network events that can occur
- P2PEvent
- Network events that can occur in the P2P system
- Trust
Level - Trust level for peer verification
Traits§
- Network
Sender - Network sender trait for sending messages