Trait tls_api::spi::TlsStreamWithUpcastDyn [−][src]
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.