Trait tls_api::spi::TlsStreamWithUpcastDyn
source · [−]pub trait TlsStreamWithUpcastDyn<S>: TlsStreamWithSocketDyn<S> {
fn upcast_box(self: Box<Self>) -> Box<dyn TlsStreamDyn>;
}
Expand description
Interface upcast. This is an interface for API implementors.
Required Methods
fn upcast_box(self: Box<Self>) -> Box<dyn TlsStreamDyn>
fn upcast_box(self: Box<Self>) -> Box<dyn TlsStreamDyn>
Upcast.