[][src]Struct ostree_sys::OstreeSignInterface

#[repr(C)]pub struct OstreeSignInterface {
    pub g_iface: GTypeInterface,
    pub get_name: Option<unsafe extern "C" fn(_: *mut OstreeSign) -> *const c_char>,
    pub data: Option<unsafe extern "C" fn(_: *mut OstreeSign, _: *mut GBytes, _: *mut *mut GBytes, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
    pub data_verify: Option<unsafe extern "C" fn(_: *mut OstreeSign, _: *mut GBytes, _: *mut GVariant, _: *mut *mut c_char, _: *mut *mut GError) -> gboolean>,
    pub metadata_key: Option<unsafe extern "C" fn(_: *mut OstreeSign) -> *const c_char>,
    pub metadata_format: Option<unsafe extern "C" fn(_: *mut OstreeSign) -> *const c_char>,
    pub clear_keys: Option<unsafe extern "C" fn(_: *mut OstreeSign, _: *mut *mut GError) -> gboolean>,
    pub set_sk: Option<unsafe extern "C" fn(_: *mut OstreeSign, _: *mut GVariant, _: *mut *mut GError) -> gboolean>,
    pub set_pk: Option<unsafe extern "C" fn(_: *mut OstreeSign, _: *mut GVariant, _: *mut *mut GError) -> gboolean>,
    pub add_pk: Option<unsafe extern "C" fn(_: *mut OstreeSign, _: *mut GVariant, _: *mut *mut GError) -> gboolean>,
    pub load_pk: Option<unsafe extern "C" fn(_: *mut OstreeSign, _: *mut GVariant, _: *mut *mut GError) -> gboolean>,
}

Fields

g_iface: GTypeInterfaceget_name: Option<unsafe extern "C" fn(_: *mut OstreeSign) -> *const c_char>data: Option<unsafe extern "C" fn(_: *mut OstreeSign, _: *mut GBytes, _: *mut *mut GBytes, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>data_verify: Option<unsafe extern "C" fn(_: *mut OstreeSign, _: *mut GBytes, _: *mut GVariant, _: *mut *mut c_char, _: *mut *mut GError) -> gboolean>metadata_key: Option<unsafe extern "C" fn(_: *mut OstreeSign) -> *const c_char>metadata_format: Option<unsafe extern "C" fn(_: *mut OstreeSign) -> *const c_char>clear_keys: Option<unsafe extern "C" fn(_: *mut OstreeSign, _: *mut *mut GError) -> gboolean>set_sk: Option<unsafe extern "C" fn(_: *mut OstreeSign, _: *mut GVariant, _: *mut *mut GError) -> gboolean>set_pk: Option<unsafe extern "C" fn(_: *mut OstreeSign, _: *mut GVariant, _: *mut *mut GError) -> gboolean>add_pk: Option<unsafe extern "C" fn(_: *mut OstreeSign, _: *mut GVariant, _: *mut *mut GError) -> gboolean>load_pk: Option<unsafe extern "C" fn(_: *mut OstreeSign, _: *mut GVariant, _: *mut *mut GError) -> gboolean>

Trait Implementations

impl Clone for OstreeSignInterface[src]

impl Copy for OstreeSignInterface[src]

impl Debug for OstreeSignInterface[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.