Skip to main content

ProxyConnectShutdown

Trait ProxyConnectShutdown 

Source
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§

Source

fn shutdown(&self)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§