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: 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
sourceimpl Clone for OstreeSignInterface
impl Clone for OstreeSignInterface
sourcefn clone(&self) -> OstreeSignInterface
fn clone(&self) -> OstreeSignInterface
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more