Trait tls_api::async_as_sync::AsyncWrapperOps [−][src]
Used by API implementors.
Associated Types
type SyncWrapper: Read + Write + Unpin + Send + 'static
[src]
API-implementation of wrapper stream.
Wrapped object is always AsyncIoAsSyncIo
.
Required methods
fn impl_info() -> ImplInfo
[src]
Which crates imlpements this?
fn debug(w: &Self::SyncWrapper) -> &dyn Debug
[src]
Cast the wrapper to fmt::Debug
or provide substitute debug.
This is work around not all wrappers implementing fmt::Debug
.
fn get_mut(w: &mut Self::SyncWrapper) -> &mut AsyncIoAsSyncIo<A>ⓘNotable traits for AsyncIoAsSyncIo<S>
impl<S: AsyncRead + Unpin> Read for AsyncIoAsSyncIo<S>impl<S: AsyncWrite + Unpin> Write for AsyncIoAsSyncIo<S>
[src]
Notable traits for AsyncIoAsSyncIo<S>
impl<S: AsyncRead + Unpin> Read for AsyncIoAsSyncIo<S>impl<S: AsyncWrite + Unpin> Write for AsyncIoAsSyncIo<S>
Unwrap the wrapper.
fn get_ref(w: &Self::SyncWrapper) -> &AsyncIoAsSyncIo<A>ⓘNotable traits for AsyncIoAsSyncIo<S>
impl<S: AsyncRead + Unpin> Read for AsyncIoAsSyncIo<S>impl<S: AsyncWrite + Unpin> Write for AsyncIoAsSyncIo<S>
[src]
Notable traits for AsyncIoAsSyncIo<S>
impl<S: AsyncRead + Unpin> Read for AsyncIoAsSyncIo<S>impl<S: AsyncWrite + Unpin> Write for AsyncIoAsSyncIo<S>
Unwrap the wrapper.
fn get_alpn_protocol(w: &Self::SyncWrapper) -> Result<Option<Vec<u8>>>
[src]
Get negotiated ALPN protocol.