[][src]Struct async_tls::client::TlsStream

pub struct TlsStream<IO> { /* fields omitted */ }

The client end of a TLS connection. Can be used like any other bidirectional IO stream. Wraps the underlying TCP stream.

Implementations

impl<IO> TlsStream<IO>[src]

pub fn get_ref(&self) -> &IO[src]

Returns a reference to the underlying IO stream.

pub fn get_mut(&mut self) -> &mut IO[src]

Returns a mutuable reference to the underlying IO stream.

Trait Implementations

impl<IO> AsyncRead for TlsStream<IO> where
    IO: AsyncRead + AsyncWrite + Unpin
[src]

impl<IO> AsyncWrite for TlsStream<IO> where
    IO: AsyncRead + AsyncWrite + Unpin
[src]

impl<IO: Debug> Debug for TlsStream<IO>[src]

Auto Trait Implementations

impl<IO> !RefUnwindSafe for TlsStream<IO>

impl<IO> Send for TlsStream<IO> where
    IO: Send

impl<IO> Sync for TlsStream<IO> where
    IO: Sync

impl<IO> Unpin for TlsStream<IO> where
    IO: Unpin

impl<IO> !UnwindSafe for TlsStream<IO>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.