Trait tls_api::spi::TlsStreamWithUpcastDyn[][src]

pub trait TlsStreamWithUpcastDyn<S>: TlsStreamWithSocketDyn<S> {
    fn upcast_box(self: Box<Self>) -> Box<dyn TlsStreamDyn>;
}

Interface upcast. This is an interface for API implementors.

Required methods

fn upcast_box(self: Box<Self>) -> Box<dyn TlsStreamDyn>[src]

Upcast.

Loading content...

Implementors

impl<A, O> TlsStreamWithUpcastDyn<A> for TlsStreamOverSyncIo<A, O> where
    A: AsyncSocket,
    O: AsyncWrapperOps<A>, 
[src]

Loading content...