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()>, pub _make_symbolic_link_finish: Option<unsafe extern "C" fn()>, 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()>§_make_symbolic_link_finish: Option<unsafe extern "C" fn()>§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

source§

fn clone(&self) -> GFileIface

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GFileIface

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for GFileIface

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.