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
fn authenticate<'a>(
&'a self,
channel: Box<dyn TunnelStream + Send + Unpin>,
tunnel_info: TunnelInfo,
shutdown_notifier: &'a CancellationListener
) -> BoxFuture<'a, Result<TunnelName, AuthenticationError>>
Implementations on Foreign Types
fn authenticate<'a>(
&'a self,
channel: Box<dyn TunnelStream + Send + Unpin>,
tunnel_info: TunnelInfo,
shutdown_notifier: &'a CancellationListener
) -> BoxFuture<'a, Result<TunnelName, AuthenticationError>>