Struct ostree_sys::OstreeSignInterface[][src]

#[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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.