Struct frida_sys::_GMountIface
source · #[repr(C)]pub struct _GMountIface {Show 28 fields
pub g_iface: GTypeInterface,
pub changed: Option<unsafe extern "C" fn(mount: *mut GMount)>,
pub unmounted: Option<unsafe extern "C" fn(mount: *mut GMount)>,
pub get_root: Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut GFile>,
pub get_name: Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut c_char>,
pub get_icon: Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut GIcon>,
pub get_uuid: Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut c_char>,
pub get_volume: Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut GVolume>,
pub get_drive: Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut GDrive>,
pub can_unmount: Option<unsafe extern "C" fn(mount: *mut GMount) -> gboolean>,
pub can_eject: Option<unsafe extern "C" fn(mount: *mut GMount) -> gboolean>,
pub unmount: Option<unsafe extern "C" fn(mount: *mut GMount, flags: GMountUnmountFlags, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>,
pub unmount_finish: Option<unsafe extern "C" fn(mount: *mut GMount, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>,
pub eject: Option<unsafe extern "C" fn(mount: *mut GMount, flags: GMountUnmountFlags, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>,
pub eject_finish: Option<unsafe extern "C" fn(mount: *mut GMount, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>,
pub remount: Option<unsafe extern "C" fn(mount: *mut GMount, flags: GMountMountFlags, mount_operation: *mut GMountOperation, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>,
pub remount_finish: Option<unsafe extern "C" fn(mount: *mut GMount, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>,
pub guess_content_type: Option<unsafe extern "C" fn(mount: *mut GMount, force_rescan: gboolean, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>,
pub guess_content_type_finish: Option<unsafe extern "C" fn(mount: *mut GMount, result: *mut GAsyncResult, error: *mut *mut GError) -> *mut *mut gchar>,
pub guess_content_type_sync: Option<unsafe extern "C" fn(mount: *mut GMount, force_rescan: gboolean, cancellable: *mut GCancellable, error: *mut *mut GError) -> *mut *mut gchar>,
pub pre_unmount: Option<unsafe extern "C" fn(mount: *mut GMount)>,
pub unmount_with_operation: Option<unsafe extern "C" fn(mount: *mut GMount, flags: GMountUnmountFlags, mount_operation: *mut GMountOperation, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>,
pub unmount_with_operation_finish: Option<unsafe extern "C" fn(mount: *mut GMount, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>,
pub eject_with_operation: Option<unsafe extern "C" fn(mount: *mut GMount, flags: GMountUnmountFlags, mount_operation: *mut GMountOperation, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>,
pub eject_with_operation_finish: Option<unsafe extern "C" fn(mount: *mut GMount, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>,
pub get_default_location: Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut GFile>,
pub get_sort_key: Option<unsafe extern "C" fn(mount: *mut GMount) -> *const gchar>,
pub get_symbolic_icon: Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut GIcon>,
}
Fields§
§g_iface: GTypeInterface
§changed: Option<unsafe extern "C" fn(mount: *mut GMount)>
§unmounted: Option<unsafe extern "C" fn(mount: *mut GMount)>
§get_root: Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut GFile>
§get_name: Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut c_char>
§get_icon: Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut GIcon>
§get_uuid: Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut c_char>
§get_volume: Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut GVolume>
§get_drive: Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut GDrive>
§can_unmount: Option<unsafe extern "C" fn(mount: *mut GMount) -> gboolean>
§can_eject: Option<unsafe extern "C" fn(mount: *mut GMount) -> gboolean>
§unmount: Option<unsafe extern "C" fn(mount: *mut GMount, flags: GMountUnmountFlags, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>
§unmount_finish: Option<unsafe extern "C" fn(mount: *mut GMount, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>
§eject: Option<unsafe extern "C" fn(mount: *mut GMount, flags: GMountUnmountFlags, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>
§eject_finish: Option<unsafe extern "C" fn(mount: *mut GMount, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>
§remount: Option<unsafe extern "C" fn(mount: *mut GMount, flags: GMountMountFlags, mount_operation: *mut GMountOperation, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>
§remount_finish: Option<unsafe extern "C" fn(mount: *mut GMount, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>
§guess_content_type: Option<unsafe extern "C" fn(mount: *mut GMount, force_rescan: gboolean, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>
§guess_content_type_finish: Option<unsafe extern "C" fn(mount: *mut GMount, result: *mut GAsyncResult, error: *mut *mut GError) -> *mut *mut gchar>
§guess_content_type_sync: Option<unsafe extern "C" fn(mount: *mut GMount, force_rescan: gboolean, cancellable: *mut GCancellable, error: *mut *mut GError) -> *mut *mut gchar>
§pre_unmount: Option<unsafe extern "C" fn(mount: *mut GMount)>
§unmount_with_operation: Option<unsafe extern "C" fn(mount: *mut GMount, flags: GMountUnmountFlags, mount_operation: *mut GMountOperation, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>
§unmount_with_operation_finish: Option<unsafe extern "C" fn(mount: *mut GMount, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>
§eject_with_operation: Option<unsafe extern "C" fn(mount: *mut GMount, flags: GMountUnmountFlags, mount_operation: *mut GMountOperation, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>
§eject_with_operation_finish: Option<unsafe extern "C" fn(mount: *mut GMount, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>
§get_default_location: Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut GFile>
§get_sort_key: Option<unsafe extern "C" fn(mount: *mut GMount) -> *const gchar>
§get_symbolic_icon: Option<unsafe extern "C" fn(mount: *mut GMount) -> *mut GIcon>
Trait Implementations§
source§impl Clone for _GMountIface
impl Clone for _GMountIface
source§fn clone(&self) -> _GMountIface
fn clone(&self) -> _GMountIface
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 _GMountIface
impl Debug for _GMountIface
impl Copy for _GMountIface
Auto Trait Implementations§
impl Freeze for _GMountIface
impl RefUnwindSafe for _GMountIface
impl Send for _GMountIface
impl Sync for _GMountIface
impl Unpin for _GMountIface
impl UnwindSafe for _GMountIface
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