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
TProtoHandler: ProtocolsHandler,
TIntoProtoHandler: IntoProtocolsHandler<Handler = TProtoHandler>,
[src]
impl<TIntoProtoHandler, TProtoHandler> IntoConnectionHandler for NodeHandlerWrapperBuilder<TIntoProtoHandler> where
TProtoHandler: ProtocolsHandler,
TIntoProtoHandler: IntoProtocolsHandler<Handler = TProtoHandler>,
[src]type Handler = NodeHandlerWrapper<<TIntoProtoHandler as IntoProtocolsHandler>::Handler>
The node handler.
pub fn into_handler(
self,
connected: &Connected
) -> <NodeHandlerWrapperBuilder<TIntoProtoHandler> as IntoConnectionHandler>::Handler
[src]
self,
connected: &Connected
) -> <NodeHandlerWrapperBuilder<TIntoProtoHandler> as IntoConnectionHandler>::Handler
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,