Crate sc_network_statement
source ·Expand description
Statement handling to plug on top of the network service.
Usage:
- Use
StatementHandlerPrototype::new
to create a prototype. - Pass the
NonDefaultSetConfig
returned fromStatementHandlerPrototype::new
to the network configuration as an extra peers set. - Use
StatementHandlerPrototype::build
thenStatementHandler::run
to obtain aFuture
that processes statements.
Modules§
- Configuration of the statement protocol
Structs§
- Handler for statements. Call
StatementHandler::run
to start the processing. - Prototype for a
StatementHandler
.
Type Aliases§
- Future resolving to statement import result.
- A set of statements.