Type Alias GTlsBackendInterface

Source
pub type GTlsBackendInterface = _GTlsBackendInterface;
Expand description

GTlsBackendInterface: @g_iface: The parent interface. @supports_tls: returns whether the backend supports TLS. @supports_dtls: returns whether the backend supports DTLS @get_default_database: returns a default #GTlsDatabase instance. @get_certificate_type: returns the #GTlsCertificate implementation type @get_client_connection_type: returns the #GTlsClientConnection implementation type @get_server_connection_type: returns the #GTlsServerConnection implementation type @get_file_database_type: returns the #GTlsFileDatabase implementation type. @get_dtls_client_connection_type: returns the #GDtlsClientConnection implementation type @get_dtls_server_connection_type: returns the #GDtlsServerConnection implementation type

Provides an interface for describing TLS-related types.

Since: 2.28

Aliased Type§

struct GTlsBackendInterface {
    pub g_iface: _GTypeInterface,
    pub supports_tls: Option<unsafe extern "C" fn(*mut _GTlsBackend) -> i32>,
    pub get_certificate_type: Option<unsafe extern "C" fn() -> u64>,
    pub get_client_connection_type: Option<unsafe extern "C" fn() -> u64>,
    pub get_server_connection_type: Option<unsafe extern "C" fn() -> u64>,
    pub get_file_database_type: Option<unsafe extern "C" fn() -> u64>,
    pub get_default_database: Option<unsafe extern "C" fn(*mut _GTlsBackend) -> *mut _GTlsDatabase>,
    pub supports_dtls: Option<unsafe extern "C" fn(*mut _GTlsBackend) -> i32>,
    pub get_dtls_client_connection_type: Option<unsafe extern "C" fn() -> u64>,
    pub get_dtls_server_connection_type: Option<unsafe extern "C" fn() -> u64>,
}

Fields§

§g_iface: _GTypeInterface§supports_tls: Option<unsafe extern "C" fn(*mut _GTlsBackend) -> i32>§get_certificate_type: Option<unsafe extern "C" fn() -> u64>§get_client_connection_type: Option<unsafe extern "C" fn() -> u64>§get_server_connection_type: Option<unsafe extern "C" fn() -> u64>§get_file_database_type: Option<unsafe extern "C" fn() -> u64>§get_default_database: Option<unsafe extern "C" fn(*mut _GTlsBackend) -> *mut _GTlsDatabase>§supports_dtls: Option<unsafe extern "C" fn(*mut _GTlsBackend) -> i32>§get_dtls_client_connection_type: Option<unsafe extern "C" fn() -> u64>§get_dtls_server_connection_type: Option<unsafe extern "C" fn() -> u64>

Trait Implementations

Source§

impl Clone for _GTlsBackendInterface

Source§

fn clone(&self) -> _GTlsBackendInterface

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _GTlsBackendInterface

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for _GTlsBackendInterface

Source§

fn eq(&self, other: &_GTlsBackendInterface) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for _GTlsBackendInterface

Source§

impl Eq for _GTlsBackendInterface

Source§

impl StructuralPartialEq for _GTlsBackendInterface