pub trait OutboundUpgradeSend: UpgradeInfoSend {
    type Output: Send + 'static;
    type Error: Send + 'static;
    type Future: Future<Output = Result<Self::Output, Self::Error>> + Send + 'static;

    fn upgrade_outbound(
        self,
        socket: NegotiatedSubstream,
        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.

Required Associated Types§

Equivalent to OutboundUpgrade::Output.

Equivalent to OutboundUpgrade::Error.

Equivalent to OutboundUpgrade::Future.

Required Methods§

Implementors§