pub trait TlsServerConnectionExt: IsA<TlsServerConnection> + 'static {
// Provided methods
fn authentication_mode(&self) -> TlsAuthenticationMode { ... }
fn set_authentication_mode(
&self,
authentication_mode: TlsAuthenticationMode,
) { ... }
fn connect_authentication_mode_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
}
Provided Methods§
fn authentication_mode(&self) -> TlsAuthenticationMode
fn set_authentication_mode(&self, authentication_mode: TlsAuthenticationMode)
fn connect_authentication_mode_notify<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&Self) + 'static,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.