Skip to main content

ProtocolRequestHandlerMaker

Trait ProtocolRequestHandlerMaker 

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

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