#[repr(C)]pub struct _GTlsBackendInterface {
pub g_iface: GTypeInterface,
pub supports_tls: Option<unsafe extern "C" fn(backend: *mut GTlsBackend) -> gboolean>,
pub get_certificate_type: Option<unsafe extern "C" fn() -> GType>,
pub get_client_connection_type: Option<unsafe extern "C" fn() -> GType>,
pub get_server_connection_type: Option<unsafe extern "C" fn() -> GType>,
pub get_file_database_type: Option<unsafe extern "C" fn() -> GType>,
pub get_default_database: Option<unsafe extern "C" fn(backend: *mut GTlsBackend) -> *mut GTlsDatabase>,
pub supports_dtls: Option<unsafe extern "C" fn(backend: *mut GTlsBackend) -> gboolean>,
pub get_dtls_client_connection_type: Option<unsafe extern "C" fn() -> GType>,
pub get_dtls_server_connection_type: Option<unsafe extern "C" fn() -> GType>,
}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
Fields§
§g_iface: GTypeInterface§supports_tls: Option<unsafe extern "C" fn(backend: *mut GTlsBackend) -> gboolean>§get_certificate_type: Option<unsafe extern "C" fn() -> GType>§get_client_connection_type: Option<unsafe extern "C" fn() -> GType>§get_server_connection_type: Option<unsafe extern "C" fn() -> GType>§get_file_database_type: Option<unsafe extern "C" fn() -> GType>§get_default_database: Option<unsafe extern "C" fn(backend: *mut GTlsBackend) -> *mut GTlsDatabase>§supports_dtls: Option<unsafe extern "C" fn(backend: *mut GTlsBackend) -> gboolean>§get_dtls_client_connection_type: Option<unsafe extern "C" fn() -> GType>§get_dtls_server_connection_type: Option<unsafe extern "C" fn() -> GType>Trait Implementations§
Source§impl Clone for _GTlsBackendInterface
impl Clone for _GTlsBackendInterface
Source§fn clone(&self) -> _GTlsBackendInterface
fn clone(&self) -> _GTlsBackendInterface
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more