Struct libsecret_sys::SecretBackendInterface
source · #[repr(C)]pub struct SecretBackendInterface {
pub parent_iface: GTypeInterface,
pub ensure_for_flags: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: SecretBackendFlags, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub ensure_for_flags_finish: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub store: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: *const SecretSchema, _: *mut GHashTable, _: *const c_char, _: *const c_char, _: *mut SecretValue, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub store_finish: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub lookup: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: *const SecretSchema, _: *mut GHashTable, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub lookup_finish: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut SecretValue>,
pub clear: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: *const SecretSchema, _: *mut GHashTable, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub clear_finish: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub search: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: *const SecretSchema, _: *mut GHashTable, _: SecretSearchFlags, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub search_finish: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GList>,
}
Fields§
§parent_iface: GTypeInterface
§ensure_for_flags: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: SecretBackendFlags, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§ensure_for_flags_finish: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§store: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: *const SecretSchema, _: *mut GHashTable, _: *const c_char, _: *const c_char, _: *mut SecretValue, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§store_finish: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§lookup: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: *const SecretSchema, _: *mut GHashTable, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§lookup_finish: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut SecretValue>
§clear: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: *const SecretSchema, _: *mut GHashTable, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§clear_finish: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§search: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: *const SecretSchema, _: *mut GHashTable, _: SecretSearchFlags, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§search_finish: Option<unsafe extern "C" fn(_: *mut SecretBackend, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GList>
Trait Implementations§
source§impl Clone for SecretBackendInterface
impl Clone for SecretBackendInterface
source§fn clone(&self) -> SecretBackendInterface
fn clone(&self) -> SecretBackendInterface
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 SecretBackendInterface
impl Debug for SecretBackendInterface
impl Copy for SecretBackendInterface
Auto Trait Implementations§
impl RefUnwindSafe for SecretBackendInterface
impl Send for SecretBackendInterface
impl Sync for SecretBackendInterface
impl Unpin for SecretBackendInterface
impl UnwindSafe for SecretBackendInterface
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