Struct libp2p::swarm::IntoProtocolsHandlerSelect  [−][src]
pub struct IntoProtocolsHandlerSelect<TProto1, TProto2> { /* fields omitted */ }Expand description
Implementation of IntoProtocolsHandler that combines two protocols into one.
Trait Implementations
impl<TProto1, TProto2> Clone for IntoProtocolsHandlerSelect<TProto1, TProto2> where
    TProto1: Clone,
    TProto2: Clone, [src]
impl<TProto1, TProto2> Clone for IntoProtocolsHandlerSelect<TProto1, TProto2> where
    TProto1: Clone,
    TProto2: Clone, [src]impl<TProto1, TProto2> Debug for IntoProtocolsHandlerSelect<TProto1, TProto2> where
    TProto1: Debug,
    TProto2: Debug, [src]
impl<TProto1, TProto2> Debug for IntoProtocolsHandlerSelect<TProto1, TProto2> where
    TProto1: Debug,
    TProto2: Debug, [src]impl<TProto1, TProto2> IntoProtocolsHandler for IntoProtocolsHandlerSelect<TProto1, TProto2> where
    TProto1: IntoProtocolsHandler,
    TProto2: IntoProtocolsHandler, [src]
impl<TProto1, TProto2> IntoProtocolsHandler for IntoProtocolsHandlerSelect<TProto1, TProto2> where
    TProto1: IntoProtocolsHandler,
    TProto2: IntoProtocolsHandler, [src]type Handler = ProtocolsHandlerSelect<<TProto1 as IntoProtocolsHandler>::Handler, <TProto2 as IntoProtocolsHandler>::Handler>
type Handler = ProtocolsHandlerSelect<<TProto1 as IntoProtocolsHandler>::Handler, <TProto2 as IntoProtocolsHandler>::Handler>The protocols handler.
pub fn into_handler(
    self, 
    remote_peer_id: &PeerId, 
    connected_point: &ConnectedPoint
) -> <IntoProtocolsHandlerSelect<TProto1, TProto2> as IntoProtocolsHandler>::Handler[src]
pub fn into_handler(
    self, 
    remote_peer_id: &PeerId, 
    connected_point: &ConnectedPoint
) -> <IntoProtocolsHandlerSelect<TProto1, TProto2> as IntoProtocolsHandler>::Handler[src]Builds the protocols handler. Read more
pub fn inbound_protocol(
    &self
) -> <<IntoProtocolsHandlerSelect<TProto1, TProto2> as IntoProtocolsHandler>::Handler as ProtocolsHandler>::InboundProtocol[src]
pub fn inbound_protocol(
    &self
) -> <<IntoProtocolsHandlerSelect<TProto1, TProto2> as IntoProtocolsHandler>::Handler as ProtocolsHandler>::InboundProtocol[src]Return the handler’s inbound protocol.
Builds an implementation of IntoProtocolsHandler that handles both this protocol and the
other one together. Read more
Creates a builder that will allow creating a NodeHandler that handles this protocol
exclusively. Read more
Auto Trait Implementations
impl<TProto1, TProto2> RefUnwindSafe for IntoProtocolsHandlerSelect<TProto1, TProto2> where
    TProto1: RefUnwindSafe,
    TProto2: RefUnwindSafe, impl<TProto1, TProto2> Send for IntoProtocolsHandlerSelect<TProto1, TProto2> where
    TProto1: Send,
    TProto2: Send, impl<TProto1, TProto2> Sync for IntoProtocolsHandlerSelect<TProto1, TProto2> where
    TProto1: Sync,
    TProto2: Sync, impl<TProto1, TProto2> Unpin for IntoProtocolsHandlerSelect<TProto1, TProto2> where
    TProto1: Unpin,
    TProto2: Unpin, impl<TProto1, TProto2> UnwindSafe for IntoProtocolsHandlerSelect<TProto1, TProto2> where
    TProto1: UnwindSafe,
    TProto2: UnwindSafe, Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V