Trait snocat::common::authentication::AuthenticationHandler[][src]

pub trait AuthenticationHandler: Debug + Send + Sync {
    fn authenticate<'a>(
        &'a self,
        channel: Box<dyn TunnelStream + Send + Unpin>,
        tunnel_info: TunnelInfo,
        shutdown_notifier: &'a CancellationListener
    ) -> BoxFuture<'a, Result<TunnelName, AuthenticationError>>; }

Required methods

Implementations on Foreign Types

Implementors