gio::prelude

Trait TlsFileDatabaseExt

Source
pub trait TlsFileDatabaseExt: IsA<TlsFileDatabase> + 'static {
    // Provided methods
    fn anchors(&self) -> Option<GString> { ... }
    fn set_anchors(&self, anchors: Option<&str>) { ... }
    fn connect_anchors_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all TlsFileDatabase methods.

§Implementors

TlsFileDatabase

Provided Methods§

Source

fn anchors(&self) -> Option<GString>

The path to a file containing PEM encoded certificate authority root anchors. The certificates in this file will be treated as root authorities for the purpose of verifying other certificates via the g_tls_database_verify_chain() operation.

Source

fn set_anchors(&self, anchors: Option<&str>)

The path to a file containing PEM encoded certificate authority root anchors. The certificates in this file will be treated as root authorities for the purpose of verifying other certificates via the g_tls_database_verify_chain() operation.

Source

fn connect_anchors_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

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§