Skip to main content

OutboundConnectionUpgrade

Trait OutboundConnectionUpgrade 

Source
pub trait OutboundConnectionUpgrade<C>: UpgradeInfo {
    type Output;
    type Error;
    type Future: Future<Output = Result<Self::Output, Self::Error>>;

    // Required method
    fn upgrade_outbound(self, socket: C, info: Self::Info) -> Self::Future;
}

Required Associated Types§

Source

type Output

Source

type Error

Source

type Future: Future<Output = Result<Self::Output, Self::Error>>

Required Methods§

Source

fn upgrade_outbound(self, socket: C, info: Self::Info) -> Self::Future

Implementors§