Crate sc_network_statement
source ·Expand description
Statement handling to plug on top of the network service.
Usage:
- Use
StatementHandlerPrototype::newto create a prototype. - Pass the
NonDefaultSetConfigreturned fromStatementHandlerPrototype::newto the network configuration as an extra peers set. - Use
StatementHandlerPrototype::buildthenStatementHandler::runto obtain aFuturethat processes statements.
Modules
- Configuration of the statement protocol
Structs
- Handler for statements. Call
StatementHandler::runto start the processing. - Prototype for a
StatementHandler.
Type Aliases
- Future resolving to statement import result.
- A set of statements.