pub struct TlsStream<C, T> { /* private fields */ }
Expand description
Tls Stream Implement AsyncRead and AsyncWrite
Implementations§
Trait Implementations§
Source§impl<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,
Source§impl<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,
Source§fn 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 moreSource§fn 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> Freeze for TlsStream<C, T>
impl<C, T> RefUnwindSafe for TlsStream<C, T>where
C: RefUnwindSafe,
T: RefUnwindSafe,
impl<C, T> Send for TlsStream<C, T>
impl<C, T> Sync for TlsStream<C, T>
impl<C, T> Unpin for TlsStream<C, T>
impl<C, T> UnwindSafe for TlsStream<C, T>where
C: UnwindSafe,
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more