[][src]Trait samotop_core::protocol::tls::MayBeTls

pub trait MayBeTls {
    fn supports_tls(&self) -> bool;
fn start_tls(self: Pin<&mut Self>) -> Result<()>; }

Required methods

fn supports_tls(&self) -> bool

fn start_tls(self: Pin<&mut Self>) -> Result<()>

Loading content...

Implementors

impl MayBeTls for TlsDisabled[src]

impl MayBeTls for TestIO[src]

impl<IO: Read + Write + Unpin, P: TlsProvider<IO>> MayBeTls for TlsCapable<IO, P>[src]

impl<T, TLSIO> MayBeTls for T where
    T: DerefMut<Target = TLSIO> + Unpin,
    TLSIO: MayBeTls + Unpin
[src]

Loading content...