Struct libp2p_swarm::protocols_handler::NodeHandlerWrapperBuilder [−][src]
pub struct NodeHandlerWrapperBuilder<TIntoProtoHandler> { /* fields omitted */ }
Prototype for a NodeHandlerWrapper
.
Trait Implementations
impl<TIntoProtoHandler, TProtoHandler> IntoConnectionHandler for NodeHandlerWrapperBuilder<TIntoProtoHandler> where
TIntoProtoHandler: IntoProtocolsHandler<Handler = TProtoHandler>,
TProtoHandler: ProtocolsHandler,
[src]
impl<TIntoProtoHandler, TProtoHandler> IntoConnectionHandler for NodeHandlerWrapperBuilder<TIntoProtoHandler> where
TIntoProtoHandler: IntoProtocolsHandler<Handler = TProtoHandler>,
TProtoHandler: ProtocolsHandler,
[src]type Handler = NodeHandlerWrapper<TIntoProtoHandler::Handler>
The node handler.
fn into_handler(self, connected: &Connected) -> Self::Handler
[src]
Auto Trait Implementations
impl<TIntoProtoHandler> RefUnwindSafe for NodeHandlerWrapperBuilder<TIntoProtoHandler> where
TIntoProtoHandler: RefUnwindSafe,
TIntoProtoHandler: RefUnwindSafe,
impl<TIntoProtoHandler> Send for NodeHandlerWrapperBuilder<TIntoProtoHandler> where
TIntoProtoHandler: Send,
TIntoProtoHandler: Send,
impl<TIntoProtoHandler> Sync for NodeHandlerWrapperBuilder<TIntoProtoHandler> where
TIntoProtoHandler: Sync,
TIntoProtoHandler: Sync,
impl<TIntoProtoHandler> Unpin for NodeHandlerWrapperBuilder<TIntoProtoHandler> where
TIntoProtoHandler: Unpin,
TIntoProtoHandler: Unpin,
impl<TIntoProtoHandler> UnwindSafe for NodeHandlerWrapperBuilder<TIntoProtoHandler> where
TIntoProtoHandler: UnwindSafe,
TIntoProtoHandler: UnwindSafe,