pub trait ProxyConnectShutdown: Send + Sync {
// Required method
fn shutdown(&self);
}Expand description
Thread-safe, nonblocking, idempotent close which must wake both halves.
The CONNECT pump may invoke this concurrently from either direction.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".