Trait tls_api::TlsStreamWithSocketDyn[][src]

pub trait TlsStreamWithSocketDyn<S>: TlsStreamDyn {
    fn get_socket_mut(&mut self) -> &mut S;
fn get_socket_ref(&self) -> &S; }

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.

Loading content...

Implementors

impl<A, O> TlsStreamWithSocketDyn<A> for TlsStreamOverSyncIo<A, O> where
    A: AsyncSocket,
    O: AsyncWrapperOps<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.

Loading content...