[−][src]Struct gio_sys::GFileIface
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()>
_move_finish: Option<unsafe extern "C" fn()>
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
impl Clone for GFileIface
[src]
fn clone(&self) -> GFileIface
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GFileIface
[src]
impl Debug for GFileIface
[src]
Auto Trait Implementations
impl Send for GFileIface
impl Unpin for GFileIface
impl Sync for GFileIface
impl UnwindSafe for GFileIface
impl RefUnwindSafe for GFileIface
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,