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§
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) -> SignalHandlerIdwhere
F: Fn(&Self) + 'static,
fn connect_server_identity_notify<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&Self) + 'static,
fn connect_validation_flags_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.