Trait tls_api::TlsStreamWithSocketDyn
source · [−]pub trait TlsStreamWithSocketDyn<S>: TlsStreamDyn {
fn get_socket_mut(&mut self) -> &mut S;
fn get_socket_ref(&self) -> &S;
}
Expand description
Get the underlying socket.
Required Methods
fn get_socket_mut(&mut self) -> &mut S
fn get_socket_mut(&mut self) -> &mut S
Get the underlying socket.
fn get_socket_ref(&self) -> &S
fn get_socket_ref(&self) -> &S
Get the underlying socket.