Trait tls_api::TlsStreamWithSocketDyn [−][src]
Get the underlying socket.
Required methods
fn get_socket_mut(&mut self) -> &mut S
[src]
Get the underlying socket.
fn get_socket_ref(&self) -> &S
[src]
Get the underlying socket.
Implementors
impl<A, O> TlsStreamWithSocketDyn<A> for TlsStreamOverSyncIo<A, O> where
A: AsyncSocket,
O: AsyncWrapperOps<A>,
[src]
A: AsyncSocket,
O: AsyncWrapperOps<A>,
fn get_socket_mut(&mut self) -> &mut A
[src]
fn get_socket_ref(&self) -> &A
[src]
impl<S: AsyncSocket> TlsStreamWithSocketDyn<S> for TlsStreamWithSocket<S>
[src]
fn get_socket_mut(&mut self) -> &mut S
[src]
Get a reference the underlying TLS-wrapped socket.
fn get_socket_ref(&self) -> &S
[src]
Get a reference the underlying TLS-wrapped socket.