Struct async_rustls_stream::TlsStream
source · [−]pub struct TlsStream<C, T> { /* private fields */ }
Expand description
Tls Stream Implement AsyncRead and AsyncWrite
Implementations
Trait Implementations
sourceimpl<C, T, S> AsyncRead for TlsStream<C, T>where
C: DerefMut + Deref<Target = ConnectionCommon<S>> + Unpin,
T: AsyncRead + AsyncWrite + Unpin,
S: SideData,
impl<C, T, S> AsyncRead for TlsStream<C, T>where
C: DerefMut + Deref<Target = ConnectionCommon<S>> + Unpin,
T: AsyncRead + AsyncWrite + Unpin,
S: SideData,
sourceimpl<C, T, S> AsyncWrite for TlsStream<C, T>where
C: DerefMut + Deref<Target = ConnectionCommon<S>> + Unpin,
T: AsyncRead + AsyncWrite + Unpin,
S: SideData,
impl<C, T, S> AsyncWrite for TlsStream<C, T>where
C: DerefMut + Deref<Target = ConnectionCommon<S>> + Unpin,
T: AsyncRead + AsyncWrite + Unpin,
S: SideData,
sourcefn poll_write(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &[u8]
) -> Poll<Result<usize>>
fn poll_write(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &[u8]
) -> Poll<Result<usize>>
Attempt to write bytes from
buf
into the object. Read moresourcefn poll_write_vectored(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
bufs: &[IoSlice<'_>]
) -> Poll<Result<usize>>
fn poll_write_vectored(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
bufs: &[IoSlice<'_>]
) -> Poll<Result<usize>>
Attempt to write bytes from
bufs
into the object using vectored
IO operations. Read moreAuto Trait Implementations
impl<C, T> RefUnwindSafe for TlsStream<C, T>where
C: RefUnwindSafe,
T: RefUnwindSafe,
impl<C, T> Send for TlsStream<C, T>where
C: Send,
T: Send,
impl<C, T> Sync for TlsStream<C, T>where
C: Sync,
T: Sync,
impl<C, T> Unpin for TlsStream<C, T>where
C: Unpin,
T: Unpin,
impl<C, T> UnwindSafe for TlsStream<C, T>where
C: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more