Module rings_node::prelude::message::handlers
source · Expand description
This module implemented message handler of rings network.
Modules
- Operator and Handler for Connection
- Operator and Handler for CustomMessage
- For handle dht related actions This module provides helper function for handle DHT related Actions
- Operator and handler for DHT stablization
- Operator and Handler for Storage
- Operator and Handler for Subring
Structs
- MessageHandler will manage resources.
Enums
- MessageHandlerEvent that will be handled by Swarm.
Traits
- Generic trait for handle message ,inspired by Actor-Model.
- Trait of message callback.
- Trait of message validator.
Type Aliases
- Boxed Callback, for non-wasm, it should be Sized, Send and Sync.
- Type alias for message payload.
- Boxed Validator