Trait ux::prelude::TlsClientConnectionExt [−]
pub trait TlsClientConnectionExt: 'static {
pub fn copy_session_state<P>(&self, source: &P)
where
P: IsA<TlsClientConnection>;
pub fn get_server_identity(&self) -> Option<SocketConnectable>;
pub fn get_use_ssl3(&self) -> bool;
pub fn get_validation_flags(&self) -> TlsCertificateFlags;
pub fn set_server_identity<P>(&self, identity: &P)
where
P: IsA<SocketConnectable>;
pub fn set_use_ssl3(&self, use_ssl3: bool);
pub fn set_validation_flags(&self, flags: TlsCertificateFlags);
pub fn connect_property_accepted_cas_notify<F>(
&self,
f: F
) -> SignalHandlerId
where
F: 'static + Fn(&Self);
pub fn connect_property_server_identity_notify<F>(
&self,
f: F
) -> SignalHandlerId
where
F: 'static + Fn(&Self);
pub fn connect_property_use_ssl3_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self);
pub fn connect_property_validation_flags_notify<F>(
&self,
f: F
) -> SignalHandlerId
where
F: 'static + Fn(&Self);
}Required methods
pub fn copy_session_state<P>(&self, source: &P) where
P: IsA<TlsClientConnection>,
P: IsA<TlsClientConnection>,
pub fn get_server_identity(&self) -> Option<SocketConnectable>
pub fn get_use_ssl3(&self) -> bool
👎 Deprecated
pub fn get_validation_flags(&self) -> TlsCertificateFlags
pub fn set_server_identity<P>(&self, identity: &P) where
P: IsA<SocketConnectable>,
P: IsA<SocketConnectable>,
pub fn set_use_ssl3(&self, use_ssl3: bool)
👎 Deprecated
pub fn set_validation_flags(&self, flags: TlsCertificateFlags)
pub fn connect_property_accepted_cas_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
F: 'static + Fn(&Self),
pub fn connect_property_server_identity_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&Self),
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&Self),
pub fn connect_property_use_ssl3_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
F: 'static + Fn(&Self),
👎 Deprecated
pub fn connect_property_validation_flags_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&Self),
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&Self),
Implementors
impl<O> TlsClientConnectionExt for O where
O: IsA<TlsClientConnection>,
O: IsA<TlsClientConnection>,
pub fn copy_session_state<P>(&self, source: &P) where
P: IsA<TlsClientConnection>,
P: IsA<TlsClientConnection>,
pub fn get_server_identity(&self) -> Option<SocketConnectable>
pub fn get_use_ssl3(&self) -> bool
pub fn get_validation_flags(&self) -> TlsCertificateFlags
pub fn set_server_identity<P>(&self, identity: &P) where
P: IsA<SocketConnectable>,
P: IsA<SocketConnectable>,
pub fn set_use_ssl3(&self, use_ssl3: bool)
pub fn set_validation_flags(&self, flags: TlsCertificateFlags)
pub fn connect_property_accepted_cas_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_server_identity_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
pub fn connect_property_use_ssl3_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),
pub fn connect_property_validation_flags_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),