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: GTypeInterfaceensure_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
sourceimpl Clone for SecretBackendInterface
impl Clone for SecretBackendInterface
sourcefn clone(&self) -> SecretBackendInterface
fn clone(&self) -> SecretBackendInterface
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 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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