Trait libp2p::swarm::protocols_handler::OutboundUpgradeSend[][src]

pub trait OutboundUpgradeSend: UpgradeInfoSend {
    type Output: 'static + Send;
    type Error: 'static + Send;
    type Future: 'static + Future + Send;
    fn upgrade_outbound(
        self,
        socket: Negotiated<SubstreamRef<Arc<StreamMuxerBox>>>,
        info: Self::Info
    ) -> Self::Future; }
Expand description

Implemented automatically on all types that implement OutboundUpgrade and Send + 'static.

Do not implement this trait yourself. Instead, please implement OutboundUpgrade.

Associated Types

Equivalent to OutboundUpgrade::Output.

Equivalent to OutboundUpgrade::Error.

Equivalent to OutboundUpgrade::Future.

Required methods

Implementors