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§
type Output
type Error
type Future: Future<Output = Result<Self::Output, Self::Error>>
Required Methods§
fn upgrade_outbound(self, socket: C, info: Self::Info) -> Self::Future
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".