[][src]Struct gio_sys::GTlsConnectionClass

#[repr(C)]pub struct GTlsConnectionClass {
    pub parent_class: GIOStreamClass,
    pub accept_certificate: Option<unsafe extern "C" fn(_: *mut GTlsConnection, _: *mut GTlsCertificate, _: GTlsCertificateFlags) -> gboolean>,
    pub handshake: Option<unsafe extern "C" fn(_: *mut GTlsConnection, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
    pub handshake_async: Option<unsafe extern "C" fn(_: *mut GTlsConnection, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub handshake_finish: Option<unsafe extern "C" fn(_: *mut GTlsConnection, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
    pub padding: [gpointer; 8],
}

Fields

parent_class: GIOStreamClassaccept_certificate: Option<unsafe extern "C" fn(_: *mut GTlsConnection, _: *mut GTlsCertificate, _: GTlsCertificateFlags) -> gboolean>handshake: Option<unsafe extern "C" fn(_: *mut GTlsConnection, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>handshake_async: Option<unsafe extern "C" fn(_: *mut GTlsConnection, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>handshake_finish: Option<unsafe extern "C" fn(_: *mut GTlsConnection, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>padding: [gpointer; 8]

Trait Implementations

impl Clone for GTlsConnectionClass[src]

impl Copy for GTlsConnectionClass[src]

impl Debug for GTlsConnectionClass[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.