[−][src]Trait gio::TlsConnectionExt
Required methods
fn emit_accept_certificate<P: IsA<TlsCertificate>>(
&self,
peer_cert: &P,
errors: TlsCertificateFlags
) -> bool
&self,
peer_cert: &P,
errors: TlsCertificateFlags
) -> bool
fn get_certificate(&self) -> Option<TlsCertificate>
fn get_database(&self) -> Option<TlsDatabase>
fn get_interaction(&self) -> Option<TlsInteraction>
fn get_peer_certificate(&self) -> Option<TlsCertificate>
fn get_peer_certificate_errors(&self) -> TlsCertificateFlags
fn get_rehandshake_mode(&self) -> TlsRehandshakeMode
fn get_require_close_notify(&self) -> bool
fn handshake<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<(), Error>
&self,
cancellable: Option<&P>
) -> Result<(), Error>
fn handshake_async<P: IsA<Cancellable>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
fn handshake_async_future(
&self,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
&self,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
fn set_certificate<P: IsA<TlsCertificate>>(&self, certificate: &P)
fn set_database<P: IsA<TlsDatabase>>(&self, database: &P)
fn set_interaction<P: IsA<TlsInteraction>>(&self, interaction: Option<&P>)
fn set_rehandshake_mode(&self, mode: TlsRehandshakeMode)
fn set_require_close_notify(&self, require_close_notify: bool)
fn get_property_base_io_stream(&self) -> Option<IOStream>
fn connect_accept_certificate<F: Fn(&Self, &TlsCertificate, TlsCertificateFlags) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_certificate_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_database_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_interaction_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_peer_certificate_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_peer_certificate_errors_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_rehandshake_mode_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_require_close_notify_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<TlsConnection>> TlsConnectionExt for O
[src]
fn emit_accept_certificate<P: IsA<TlsCertificate>>(
&self,
peer_cert: &P,
errors: TlsCertificateFlags
) -> bool
[src]
&self,
peer_cert: &P,
errors: TlsCertificateFlags
) -> bool
fn get_certificate(&self) -> Option<TlsCertificate>
[src]
fn get_database(&self) -> Option<TlsDatabase>
[src]
fn get_interaction(&self) -> Option<TlsInteraction>
[src]
fn get_peer_certificate(&self) -> Option<TlsCertificate>
[src]
fn get_peer_certificate_errors(&self) -> TlsCertificateFlags
[src]
fn get_rehandshake_mode(&self) -> TlsRehandshakeMode
[src]
fn get_require_close_notify(&self) -> bool
[src]
fn handshake<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<(), Error>
[src]
&self,
cancellable: Option<&P>
) -> Result<(), Error>
fn handshake_async<P: IsA<Cancellable>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
fn handshake_async_future(
&self,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
[src]
&self,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
fn set_certificate<P: IsA<TlsCertificate>>(&self, certificate: &P)
[src]
fn set_database<P: IsA<TlsDatabase>>(&self, database: &P)
[src]
fn set_interaction<P: IsA<TlsInteraction>>(&self, interaction: Option<&P>)
[src]
fn set_rehandshake_mode(&self, mode: TlsRehandshakeMode)
[src]
fn set_require_close_notify(&self, require_close_notify: bool)
[src]
fn get_property_base_io_stream(&self) -> Option<IOStream>
[src]
fn connect_accept_certificate<F: Fn(&Self, &TlsCertificate, TlsCertificateFlags) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_certificate_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_database_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_interaction_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_peer_certificate_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_peer_certificate_errors_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_rehandshake_mode_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_require_close_notify_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId