Trait TlsStreamWithUpcastDyn

Source
pub trait TlsStreamWithUpcastDyn<S>: TlsStreamWithSocketDyn<S> {
    // Required method
    fn upcast_box(self: Box<Self>) -> Box<dyn TlsStreamDyn>;
}
Expand description

Interface upcast. This is an interface for API implementors.

Required Methods§

Source

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

Upcast.

Implementors§