Trait sourceview5::prelude::TlsClientConnectionExt
source · pub trait TlsClientConnectionExt: IsA<TlsClientConnection> + Sealed + '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§
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
fn connect_server_identity_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_validation_flags_notify<F>(&self, f: F) -> SignalHandlerId
Object Safety§
This trait is not object safe.