pub trait GetProxyDigest {
// Required method
fn get_proxy_digest(&self) -> Option<Arc<ProxyDigest>>;
// Provided method
fn set_proxy_digest(&mut self, _digest: ProxyDigest) { ... }
}Expand description
The interface to set or return proxy information
Required Methods§
fn get_proxy_digest(&self) -> Option<Arc<ProxyDigest>>
Provided Methods§
fn set_proxy_digest(&mut self, _digest: ProxyDigest)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl GetProxyDigest for DuplexStream
impl GetProxyDigest for DuplexStream
fn get_proxy_digest(&self) -> Option<Arc<ProxyDigest>>
Source§impl GetProxyDigest for Mock
impl GetProxyDigest for Mock
fn get_proxy_digest(&self) -> Option<Arc<ProxyDigest>>
Source§impl GetProxyDigest for UnixStream
Available on Unix only.
impl GetProxyDigest for UnixStream
Available on Unix only.
fn get_proxy_digest(&self) -> Option<Arc<ProxyDigest>>
Source§impl<T> GetProxyDigest for Cursor<T>
impl<T> GetProxyDigest for Cursor<T>
fn get_proxy_digest(&self) -> Option<Arc<ProxyDigest>>
Implementors§
impl GetProxyDigest for Stream
impl<S> GetProxyDigest for SslStream<S>
Available on non-crate feature
any_tls only.