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.