[][src]Struct tokio_rustls::TlsStream

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

A wrapper around an underlying raw stream which implements the TLS or SSL protocol.

Methods

impl<IO, S> TlsStream<IO, S>[src]

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

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

pub fn into_inner(self) -> (IO, S)[src]

Trait Implementations

impl<IO, S: Session> From<(IO, S)> for TlsStream<IO, S>[src]

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

impl<IO, S> Write for TlsStream<IO, S> where
    IO: Read + Write,
    S: Session
[src]

impl<IO, S> Read for TlsStream<IO, S> where
    IO: Read + Write,
    S: Session
[src]

impl<IO, S> AsyncRead for TlsStream<IO, S> where
    IO: AsyncRead + AsyncWrite,
    S: Session
[src]

impl<IO, S> AsyncWrite for TlsStream<IO, S> where
    IO: AsyncRead + AsyncWrite,
    S: Session
[src]

Auto Trait Implementations

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

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

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

impl<IO, S> UnwindSafe for TlsStream<IO, S> where
    IO: UnwindSafe,
    S: UnwindSafe

impl<IO, S> RefUnwindSafe for TlsStream<IO, S> where
    IO: RefUnwindSafe,
    S: RefUnwindSafe

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<R> ReadBytesExt for R where
    R: Read + ?Sized

impl<W> WriteBytesExt for W where
    W: Write + ?Sized