pub trait ProtocolRouter: Service<InEvent = ProtocolRouterInEvent, OutEvent = ProtocolRouterOutEvent> { }Expand description
The protocol message router service trait.
This trait is used by the [Behaviour] to route received (and published) messages
to the appropriate peers.
It handles the ProtocolRouterInEvent and generates ProtocolRouterOutEvent events.