pub trait StreamUpstream:
Send
+ Sync
+ 'static {
type Conn: StreamConnection;
// Required method
fn connect_future(&self) -> ConnectFuture<'_, Self::Conn>;
}Required Associated Types§
type Conn: StreamConnection
Required Methods§
fn connect_future(&self) -> ConnectFuture<'_, Self::Conn>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".