pub trait Upgrade:
Send
+ Sync
+ 'static {
// Required method
fn run(&self, connection: Upgraded) -> BoxFuture<()>;
}Expand description
What takes over the connection.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".