cuprate_p2p_core

Trait ProtocolRequestHandlerMaker

Source
pub trait ProtocolRequestHandlerMaker<Z: NetworkZone>:
    MakeService<PeerInformation<Z::Addr>, ProtocolRequest, MakeError = BoxError, Service: ProtocolRequestHandler, Future: Send + 'static>
    + Send
    + 'static { }

Implementors§

Source§

impl<T, Z: NetworkZone> ProtocolRequestHandlerMaker<Z> for T
where T: MakeService<PeerInformation<Z::Addr>, ProtocolRequest, MakeError = BoxError, Service: ProtocolRequestHandler, Future: Send + 'static> + Send + 'static,