Struct ostree_sys::OstreeSignInterface
source · #[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: GTypeInterface
§get_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§
source§impl Clone for OstreeSignInterface
impl Clone for OstreeSignInterface
source§fn clone(&self) -> OstreeSignInterface
fn clone(&self) -> OstreeSignInterface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OstreeSignInterface
impl Debug for OstreeSignInterface
impl Copy for OstreeSignInterface
Auto Trait Implementations§
impl RefUnwindSafe for OstreeSignInterface
impl Send for OstreeSignInterface
impl Sync for OstreeSignInterface
impl Unpin for OstreeSignInterface
impl UnwindSafe for OstreeSignInterface
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more