Trait gio::prelude::TlsServerConnectionExt [−][src]
pub trait TlsServerConnectionExt: 'static { fn authentication_mode(&self) -> TlsAuthenticationMode; fn set_authentication_mode(
&self,
authentication_mode: TlsAuthenticationMode
); fn connect_authentication_mode_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; }
Expand description
Required methods
fn authentication_mode(&self) -> TlsAuthenticationMode
fn authentication_mode(&self) -> TlsAuthenticationMode
The TlsAuthenticationMode
for the server. This can be changed
before calling TlsConnectionExt::handshake()
if you want to
rehandshake with a different mode from the initial handshake.
fn set_authentication_mode(&self, authentication_mode: TlsAuthenticationMode)
fn set_authentication_mode(&self, authentication_mode: TlsAuthenticationMode)
The TlsAuthenticationMode
for the server. This can be changed
before calling TlsConnectionExt::handshake()
if you want to
rehandshake with a different mode from the initial handshake.
fn connect_authentication_mode_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId