Skip to main content

InboundConnectionUpgrade

Trait InboundConnectionUpgrade 

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

    // Required method
    fn upgrade_inbound(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_inbound(self, socket: C, info: Self::Info) -> Self::Future

Implementors§