Trait TlsClientConnectionExt

Source
pub trait TlsClientConnectionExt: 'static {
    // Required methods
    fn get_server_identity(&self) -> Option<SocketConnectable>;
    fn get_use_ssl3(&self) -> bool;
    fn get_validation_flags(&self) -> TlsCertificateFlags;
    fn set_server_identity<P: IsA<SocketConnectable>>(&self, identity: &P);
    fn set_use_ssl3(&self, use_ssl3: bool);
    fn set_validation_flags(&self, flags: TlsCertificateFlags);
    fn connect_property_accepted_cas_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
    fn connect_property_server_identity_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
    fn connect_property_use_ssl3_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
    fn connect_property_validation_flags_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
}

Required Methods§

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§