Struct libp2p::swarm::protocols_handler::NodeHandlerWrapperBuilder [−][src]
pub struct NodeHandlerWrapperBuilder<TIntoProtoHandler> { /* fields omitted */ }
Expand description
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>
type Handler = NodeHandlerWrapper<<TIntoProtoHandler as IntoProtocolsHandler>::Handler>
The node handler.
pub fn into_handler(
self,
connected: &Connected
) -> <NodeHandlerWrapperBuilder<TIntoProtoHandler> as IntoConnectionHandler>::Handler
[src]
pub fn into_handler(
self,
connected: &Connected
) -> <NodeHandlerWrapperBuilder<TIntoProtoHandler> as IntoConnectionHandler>::Handler
[src]Builds the node handler. Read more
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,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,