Trait TlsClientConnectionExt

Source
pub trait TlsClientConnectionExt: IsA<TlsClientConnection> + 'static {
    // Provided methods
    fn copy_session_state(&self, source: &impl IsA<TlsClientConnection>) { ... }
    fn accepted_cas(&self) -> Vec<ByteArray> { ... }
    fn server_identity(&self) -> Option<SocketConnectable> { ... }
    fn validation_flags(&self) -> TlsCertificateFlags { ... }
    fn set_server_identity(&self, identity: &impl IsA<SocketConnectable>) { ... }
    fn set_validation_flags(&self, flags: TlsCertificateFlags) { ... }
    fn connect_accepted_cas_notify<F>(&self, f: F) -> SignalHandlerId
       where F: Fn(&Self) + 'static { ... }
    fn connect_server_identity_notify<F>(&self, f: F) -> SignalHandlerId
       where F: Fn(&Self) + 'static { ... }
    fn connect_validation_flags_notify<F>(&self, f: F) -> SignalHandlerId
       where F: Fn(&Self) + 'static { ... }
}

Provided Methods§

Source

fn copy_session_state(&self, source: &impl IsA<TlsClientConnection>)

Source

fn accepted_cas(&self) -> Vec<ByteArray>

Source

fn server_identity(&self) -> Option<SocketConnectable>

Source

fn validation_flags(&self) -> TlsCertificateFlags

Source

fn set_server_identity(&self, identity: &impl IsA<SocketConnectable>)

Source

fn set_validation_flags(&self, flags: TlsCertificateFlags)

Source

fn connect_accepted_cas_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static,

Source

fn connect_server_identity_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static,

Source

fn connect_validation_flags_notify<F>(&self, f: F) -> SignalHandlerId
where 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.

Implementors§