Struct tls_api::async_as_sync::AsyncIoAsSyncIo [−][src]
Async IO object as sync IO.
Used in API implementations.
Implementations
impl<S: Unpin> AsyncIoAsSyncIo<S>
[src][−]
pub fn get_inner_mut(&mut self) -> &mut S
[src][−]
Get a mutable reference to a wrapped stream
pub fn get_inner_ref(&self) -> &S
[src][−]
And a reference to a wrapped stream
pub fn new(inner: S) -> AsyncIoAsSyncIo<S>ⓘ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>
Wrap sync object in this wrapper.
Trait Implementations
impl<S: Debug + Unpin> Debug for AsyncIoAsSyncIo<S>
[src][+]
impl<S: AsyncRead + Unpin> Read for AsyncIoAsSyncIo<S>
[src][+]
impl<S: Unpin + Send> Send for AsyncIoAsSyncIo<S>
[src]
impl<S: AsyncWrite + Unpin> Write for AsyncIoAsSyncIo<S>
[src][+]
Auto Trait Implementations
impl<S> RefUnwindSafe for AsyncIoAsSyncIo<S> where
S: RefUnwindSafe,
[src]
S: RefUnwindSafe,
impl<S> Sync for AsyncIoAsSyncIo<S> where
S: Sync,
[src]
S: Sync,
impl<S> Unpin for AsyncIoAsSyncIo<S>
[src]
impl<S> UnwindSafe for AsyncIoAsSyncIo<S> where
S: UnwindSafe,
[src]
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,