[]Struct actori_connect::ssl::rustls::TlsStream

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

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

Methods

impl<IO> TlsStream<IO>

pub fn get_ref(&self) -> (&IO, &ClientSession)

pub fn get_mut(&mut self) -> (&mut IO, &mut ClientSession)

pub fn into_inner(self) -> (IO, ClientSession)

Trait Implementations

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

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

fn poll_write(
    self: Pin<&mut TlsStream<IO>>,
    cx: &mut Context,
    buf: &[u8]
) -> Poll<Result<usize, Error>>

Note: that it does not guarantee the final data to be sent. To be cautious, you must manually call flush.

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

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,