Struct gio_sys::GFileIface
source · #[repr(C)]pub struct GFileIface {Show 104 fields
pub g_iface: GTypeInterface,
pub dup: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut GFile>,
pub hash: Option<unsafe extern "C" fn(_: *mut GFile) -> c_uint>,
pub equal: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile) -> gboolean>,
pub is_native: Option<unsafe extern "C" fn(_: *mut GFile) -> gboolean>,
pub has_uri_scheme: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char) -> gboolean>,
pub get_uri_scheme: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut c_char>,
pub get_basename: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut c_char>,
pub get_path: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut c_char>,
pub get_uri: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut c_char>,
pub get_parse_name: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut c_char>,
pub get_parent: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut GFile>,
pub prefix_matches: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile) -> gboolean>,
pub get_relative_path: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile) -> *mut c_char>,
pub resolve_relative_path: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char) -> *mut GFile>,
pub get_child_for_display_name: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: *mut *mut GError) -> *mut GFile>,
pub enumerate_children: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: GFileQueryInfoFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileEnumerator>,
pub enumerate_children_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: GFileQueryInfoFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub enumerate_children_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileEnumerator>,
pub query_info: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: GFileQueryInfoFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileInfo>,
pub query_info_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: GFileQueryInfoFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub query_info_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileInfo>,
pub query_filesystem_info: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileInfo>,
pub query_filesystem_info_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub query_filesystem_info_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileInfo>,
pub find_enclosing_mount: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> *mut GMount>,
pub find_enclosing_mount_async: Option<unsafe extern "C" fn(_: *mut GFile, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub find_enclosing_mount_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GMount>,
pub set_display_name: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFile>,
pub set_display_name_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub set_display_name_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFile>,
pub query_settable_attributes: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileAttributeInfoList>,
pub _query_settable_attributes_async: Option<unsafe extern "C" fn()>,
pub _query_settable_attributes_finish: Option<unsafe extern "C" fn()>,
pub query_writable_namespaces: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileAttributeInfoList>,
pub _query_writable_namespaces_async: Option<unsafe extern "C" fn()>,
pub _query_writable_namespaces_finish: Option<unsafe extern "C" fn()>,
pub set_attribute: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: GFileAttributeType, _: gpointer, _: GFileQueryInfoFlags, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
pub set_attributes_from_info: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFileInfo, _: GFileQueryInfoFlags, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
pub set_attributes_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFileInfo, _: GFileQueryInfoFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub set_attributes_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GFileInfo, _: *mut *mut GError) -> gboolean>,
pub read_fn: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileInputStream>,
pub read_async: Option<unsafe extern "C" fn(_: *mut GFile, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub read_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileInputStream>,
pub append_to: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileCreateFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileOutputStream>,
pub append_to_async: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileCreateFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub append_to_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileOutputStream>,
pub create: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileCreateFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileOutputStream>,
pub create_async: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileCreateFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub create_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileOutputStream>,
pub replace: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: gboolean, _: GFileCreateFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileOutputStream>,
pub replace_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: gboolean, _: GFileCreateFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub replace_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileOutputStream>,
pub delete_file: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
pub delete_file_async: Option<unsafe extern "C" fn(_: *mut GFile, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub delete_file_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub trash: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
pub trash_async: Option<unsafe extern "C" fn(_: *mut GFile, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub trash_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub make_directory: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
pub make_directory_async: Option<unsafe extern "C" fn(_: *mut GFile, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub make_directory_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub make_symbolic_link: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
pub make_symbolic_link_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub make_symbolic_link_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub copy: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile, _: GFileCopyFlags, _: *mut GCancellable, _: GFileProgressCallback, _: gpointer, _: *mut *mut GError) -> gboolean>,
pub copy_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile, _: GFileCopyFlags, _: c_int, _: *mut GCancellable, _: GFileProgressCallback, _: gpointer, _: GAsyncReadyCallback, _: gpointer)>,
pub copy_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub move_: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile, _: GFileCopyFlags, _: *mut GCancellable, _: GFileProgressCallback, _: gpointer, _: *mut *mut GError) -> gboolean>,
pub move_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile, _: GFileCopyFlags, _: c_int, _: *mut GCancellable, _: GFileProgressCallback, _: gpointer, _: GAsyncReadyCallback, _: gpointer)>,
pub move_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub mount_mountable: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountMountFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub mount_mountable_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFile>,
pub unmount_mountable: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountUnmountFlags, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub unmount_mountable_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub eject_mountable: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountUnmountFlags, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub eject_mountable_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub mount_enclosing_volume: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountMountFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub mount_enclosing_volume_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub monitor_dir: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileMonitorFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileMonitor>,
pub monitor_file: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileMonitorFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileMonitor>,
pub open_readwrite: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileIOStream>,
pub open_readwrite_async: Option<unsafe extern "C" fn(_: *mut GFile, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub open_readwrite_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileIOStream>,
pub create_readwrite: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileCreateFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileIOStream>,
pub create_readwrite_async: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileCreateFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub create_readwrite_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileIOStream>,
pub replace_readwrite: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: gboolean, _: GFileCreateFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileIOStream>,
pub replace_readwrite_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: gboolean, _: GFileCreateFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub replace_readwrite_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileIOStream>,
pub start_mountable: Option<unsafe extern "C" fn(_: *mut GFile, _: GDriveStartFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub start_mountable_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub stop_mountable: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountUnmountFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub stop_mountable_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub supports_thread_contexts: gboolean,
pub unmount_mountable_with_operation: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountUnmountFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub unmount_mountable_with_operation_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub eject_mountable_with_operation: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountUnmountFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub eject_mountable_with_operation_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub poll_mountable: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub poll_mountable_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub measure_disk_usage: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileMeasureFlags, _: *mut GCancellable, _: GFileMeasureProgressCallback, _: gpointer, _: *mut u64, _: *mut u64, _: *mut u64, _: *mut *mut GError) -> gboolean>,
pub measure_disk_usage_async: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileMeasureFlags, _: c_int, _: *mut GCancellable, _: GFileMeasureProgressCallback, _: gpointer, _: GAsyncReadyCallback, _: gpointer)>,
pub measure_disk_usage_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut u64, _: *mut u64, _: *mut u64, _: *mut *mut GError) -> gboolean>,
}
Fields§
§g_iface: GTypeInterface
§dup: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut GFile>
§hash: Option<unsafe extern "C" fn(_: *mut GFile) -> c_uint>
§equal: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile) -> gboolean>
§is_native: Option<unsafe extern "C" fn(_: *mut GFile) -> gboolean>
§has_uri_scheme: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char) -> gboolean>
§get_uri_scheme: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut c_char>
§get_basename: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut c_char>
§get_path: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut c_char>
§get_uri: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut c_char>
§get_parse_name: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut c_char>
§get_parent: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut GFile>
§prefix_matches: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile) -> gboolean>
§get_relative_path: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile) -> *mut c_char>
§resolve_relative_path: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char) -> *mut GFile>
§get_child_for_display_name: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: *mut *mut GError) -> *mut GFile>
§enumerate_children: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: GFileQueryInfoFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileEnumerator>
§enumerate_children_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: GFileQueryInfoFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§enumerate_children_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileEnumerator>
§query_info: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: GFileQueryInfoFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileInfo>
§query_info_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: GFileQueryInfoFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§query_info_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileInfo>
§query_filesystem_info: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileInfo>
§query_filesystem_info_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§query_filesystem_info_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileInfo>
§find_enclosing_mount: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> *mut GMount>
§find_enclosing_mount_async: Option<unsafe extern "C" fn(_: *mut GFile, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§find_enclosing_mount_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GMount>
§set_display_name: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFile>
§set_display_name_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§set_display_name_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFile>
§query_settable_attributes: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileAttributeInfoList>
§_query_settable_attributes_async: Option<unsafe extern "C" fn()>
§_query_settable_attributes_finish: Option<unsafe extern "C" fn()>
§query_writable_namespaces: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileAttributeInfoList>
§_query_writable_namespaces_async: Option<unsafe extern "C" fn()>
§_query_writable_namespaces_finish: Option<unsafe extern "C" fn()>
§set_attribute: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: GFileAttributeType, _: gpointer, _: GFileQueryInfoFlags, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>
§set_attributes_from_info: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFileInfo, _: GFileQueryInfoFlags, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>
§set_attributes_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFileInfo, _: GFileQueryInfoFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§set_attributes_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GFileInfo, _: *mut *mut GError) -> gboolean>
§read_fn: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileInputStream>
§read_async: Option<unsafe extern "C" fn(_: *mut GFile, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§read_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileInputStream>
§append_to: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileCreateFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileOutputStream>
§append_to_async: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileCreateFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§append_to_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileOutputStream>
§create: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileCreateFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileOutputStream>
§create_async: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileCreateFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§create_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileOutputStream>
§replace: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: gboolean, _: GFileCreateFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileOutputStream>
§replace_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: gboolean, _: GFileCreateFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§replace_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileOutputStream>
§delete_file: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>
§delete_file_async: Option<unsafe extern "C" fn(_: *mut GFile, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§delete_file_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§trash: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>
§trash_async: Option<unsafe extern "C" fn(_: *mut GFile, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§trash_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§make_directory: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>
§make_directory_async: Option<unsafe extern "C" fn(_: *mut GFile, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§make_directory_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§make_symbolic_link: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>
§make_symbolic_link_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§make_symbolic_link_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§copy: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile, _: GFileCopyFlags, _: *mut GCancellable, _: GFileProgressCallback, _: gpointer, _: *mut *mut GError) -> gboolean>
§copy_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile, _: GFileCopyFlags, _: c_int, _: *mut GCancellable, _: GFileProgressCallback, _: gpointer, _: GAsyncReadyCallback, _: gpointer)>
§copy_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§move_: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile, _: GFileCopyFlags, _: *mut GCancellable, _: GFileProgressCallback, _: gpointer, _: *mut *mut GError) -> gboolean>
§move_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile, _: GFileCopyFlags, _: c_int, _: *mut GCancellable, _: GFileProgressCallback, _: gpointer, _: GAsyncReadyCallback, _: gpointer)>
§move_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§mount_mountable: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountMountFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§mount_mountable_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFile>
§unmount_mountable: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountUnmountFlags, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§unmount_mountable_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§eject_mountable: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountUnmountFlags, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§eject_mountable_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§mount_enclosing_volume: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountMountFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§mount_enclosing_volume_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§monitor_dir: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileMonitorFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileMonitor>
§monitor_file: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileMonitorFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileMonitor>
§open_readwrite: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileIOStream>
§open_readwrite_async: Option<unsafe extern "C" fn(_: *mut GFile, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§open_readwrite_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileIOStream>
§create_readwrite: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileCreateFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileIOStream>
§create_readwrite_async: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileCreateFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§create_readwrite_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileIOStream>
§replace_readwrite: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: gboolean, _: GFileCreateFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileIOStream>
§replace_readwrite_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: gboolean, _: GFileCreateFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§replace_readwrite_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileIOStream>
§start_mountable: Option<unsafe extern "C" fn(_: *mut GFile, _: GDriveStartFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§start_mountable_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§stop_mountable: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountUnmountFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§stop_mountable_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§supports_thread_contexts: gboolean
§unmount_mountable_with_operation: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountUnmountFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§unmount_mountable_with_operation_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§eject_mountable_with_operation: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountUnmountFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§eject_mountable_with_operation_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§poll_mountable: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§poll_mountable_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§measure_disk_usage: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileMeasureFlags, _: *mut GCancellable, _: GFileMeasureProgressCallback, _: gpointer, _: *mut u64, _: *mut u64, _: *mut u64, _: *mut *mut GError) -> gboolean>
§measure_disk_usage_async: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileMeasureFlags, _: c_int, _: *mut GCancellable, _: GFileMeasureProgressCallback, _: gpointer, _: GAsyncReadyCallback, _: gpointer)>
§measure_disk_usage_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut u64, _: *mut u64, _: *mut u64, _: *mut *mut GError) -> gboolean>
Trait Implementations§
source§impl Clone for GFileIface
impl Clone for GFileIface
source§fn clone(&self) -> GFileIface
fn clone(&self) -> GFileIface
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 GFileIface
impl Debug for GFileIface
impl Copy for GFileIface
Auto Trait Implementations§
impl Freeze for GFileIface
impl RefUnwindSafe for GFileIface
impl Send for GFileIface
impl Sync for GFileIface
impl Unpin for GFileIface
impl UnwindSafe for GFileIface
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)