pub trait TlsStreamWithSocketDyn<S>: TlsStreamDyn {
// Required methods
fn get_socket_mut(&mut self) -> &mut S;
fn get_socket_ref(&self) -> &S;
}Expand description
Get the underlying socket.
Required Methods§
Sourcefn get_socket_mut(&mut self) -> &mut S
fn get_socket_mut(&mut self) -> &mut S
Get the underlying socket.
Sourcefn get_socket_ref(&self) -> &S
fn get_socket_ref(&self) -> &S
Get the underlying socket.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".