[][src]Trait samotop_core::service::tcp::tls::TlsProvider

pub trait TlsProvider<IO> {
    type EncryptedIO: Read + Write + Unpin;
    type UpgradeFuture: Future<Output = Result<Self::EncryptedIO>>;
    fn upgrade_to_tls(&self, io: IO) -> Self::UpgradeFuture;
}

Associated Types

Loading content...

Required methods

fn upgrade_to_tls(&self, io: IO) -> Self::UpgradeFuture

Loading content...

Implementors

impl<IO> TlsProvider<IO> for TlsDisabled[src]

Loading content...