[−]Struct ostree::RepoFile
Trait Implementations
impl Clone for RepoFile
fn clone(&self) -> RepoFile
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RepoFile
impl Display for RepoFile
[src]
impl Eq for RepoFile
impl Hash for RepoFile
fn hash<__H: Hasher>(&self, state: &mut __H)
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl IsA<File> for RepoFile
impl Ord for RepoFile
fn cmp(&self, other: &RepoFile) -> Ordering
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<T: ObjectType> PartialEq<T> for RepoFile
impl<T: ObjectType> PartialOrd<T> for RepoFile
fn partial_cmp(&self, other: &T) -> Option<Ordering>
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StaticType for RepoFile
fn static_type() -> Type
Auto Trait Implementations
impl RefUnwindSafe for RepoFile
impl !Send for RepoFile
impl !Sync for RepoFile
impl Unpin for RepoFile
impl UnwindSafe for RepoFile
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Super, Sub> CanDowncast<Sub> for Super where
Sub: IsA<Super>,
Super: IsA<Super>,
[src]
Sub: IsA<Super>,
Super: IsA<Super>,
impl<T> Cast for T where
T: ObjectType,
[src]
T: ObjectType,
fn upcast<T>(self) -> T where
Self: IsA<T>,
T: ObjectType,
[src]
Self: IsA<T>,
T: ObjectType,
fn upcast_ref<T>(&self) -> &T where
Self: IsA<T>,
T: ObjectType,
[src]
Self: IsA<T>,
T: ObjectType,
fn downcast<T>(self) -> Result<T, Self> where
Self: CanDowncast<T>,
T: ObjectType,
[src]
Self: CanDowncast<T>,
T: ObjectType,
fn downcast_ref<T>(&self) -> Option<&T> where
Self: CanDowncast<T>,
T: ObjectType,
[src]
Self: CanDowncast<T>,
T: ObjectType,
fn dynamic_cast<T>(self) -> Result<T, Self> where
T: ObjectType,
[src]
T: ObjectType,
fn dynamic_cast_ref<T>(&self) -> Option<&T> where
T: ObjectType,
[src]
T: ObjectType,
unsafe fn unsafe_cast<T>(self) -> T where
T: ObjectType,
[src]
T: ObjectType,
unsafe fn unsafe_cast_ref<T>(&self) -> &T where
T: ObjectType,
[src]
T: ObjectType,
impl<O> FileExt for O where
O: IsA<File>,
[src]
O: IsA<File>,
fn append_to<P>(
&self,
flags: FileCreateFlags,
cancellable: Option<&P>
) -> Result<FileOutputStream, Error> where
P: IsA<Cancellable>,
[src]
&self,
flags: FileCreateFlags,
cancellable: Option<&P>
) -> Result<FileOutputStream, Error> where
P: IsA<Cancellable>,
fn append_to_async<P, Q>(
&self,
flags: FileCreateFlags,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileOutputStream, Error>),
[src]
&self,
flags: FileCreateFlags,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileOutputStream, Error>),
fn append_to_async_future(
&self,
flags: FileCreateFlags,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileOutputStream, Error>> + 'static + Unpin>
[src]
&self,
flags: FileCreateFlags,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileOutputStream, Error>> + 'static + Unpin>
fn copy<P, Q>(
&self,
destination: &P,
flags: FileCopyFlags,
cancellable: Option<&Q>,
progress_callback: Option<&mut dyn FnMut(i64, i64)>
) -> Result<(), Error> where
P: IsA<File>,
Q: IsA<Cancellable>,
[src]
&self,
destination: &P,
flags: FileCopyFlags,
cancellable: Option<&Q>,
progress_callback: Option<&mut dyn FnMut(i64, i64)>
) -> Result<(), Error> where
P: IsA<File>,
Q: IsA<Cancellable>,
fn copy_attributes<P, Q>(
&self,
destination: &P,
flags: FileCopyFlags,
cancellable: Option<&Q>
) -> Result<(), Error> where
P: IsA<File>,
Q: IsA<Cancellable>,
[src]
&self,
destination: &P,
flags: FileCopyFlags,
cancellable: Option<&Q>
) -> Result<(), Error> where
P: IsA<File>,
Q: IsA<Cancellable>,
fn create<P>(
&self,
flags: FileCreateFlags,
cancellable: Option<&P>
) -> Result<FileOutputStream, Error> where
P: IsA<Cancellable>,
[src]
&self,
flags: FileCreateFlags,
cancellable: Option<&P>
) -> Result<FileOutputStream, Error> where
P: IsA<Cancellable>,
fn create_async<P, Q>(
&self,
flags: FileCreateFlags,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileOutputStream, Error>),
[src]
&self,
flags: FileCreateFlags,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileOutputStream, Error>),
fn create_async_future(
&self,
flags: FileCreateFlags,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileOutputStream, Error>> + 'static + Unpin>
[src]
&self,
flags: FileCreateFlags,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileOutputStream, Error>> + 'static + Unpin>
fn create_readwrite<P>(
&self,
flags: FileCreateFlags,
cancellable: Option<&P>
) -> Result<FileIOStream, Error> where
P: IsA<Cancellable>,
[src]
&self,
flags: FileCreateFlags,
cancellable: Option<&P>
) -> Result<FileIOStream, Error> where
P: IsA<Cancellable>,
fn create_readwrite_async<P, Q>(
&self,
flags: FileCreateFlags,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileIOStream, Error>),
[src]
&self,
flags: FileCreateFlags,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileIOStream, Error>),
fn create_readwrite_async_future(
&self,
flags: FileCreateFlags,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileIOStream, Error>> + 'static + Unpin>
[src]
&self,
flags: FileCreateFlags,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileIOStream, Error>> + 'static + Unpin>
fn delete<P>(&self, cancellable: Option<&P>) -> Result<(), Error> where
P: IsA<Cancellable>,
[src]
P: IsA<Cancellable>,
fn delete_async<P, Q>(
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<(), Error>),
[src]
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<(), Error>),
fn delete_async_future(
&self,
io_priority: Priority
) -> Box<dyn Future<Output = Result<(), Error>> + 'static + Unpin>
[src]
&self,
io_priority: Priority
) -> Box<dyn Future<Output = Result<(), Error>> + 'static + Unpin>
fn dup(&self) -> Option<File>
[src]
fn eject_mountable_with_operation<P, Q, R>(
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
) where
P: IsA<MountOperation>,
Q: IsA<Cancellable>,
R: 'static + Send + FnOnce(Result<(), Error>),
[src]
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
) where
P: IsA<MountOperation>,
Q: IsA<Cancellable>,
R: 'static + Send + FnOnce(Result<(), Error>),
fn eject_mountable_with_operation_future<P>(
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>
) -> Box<dyn Future<Output = Result<(), Error>> + 'static + Unpin> where
P: 'static + Clone + IsA<MountOperation>,
[src]
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>
) -> Box<dyn Future<Output = Result<(), Error>> + 'static + Unpin> where
P: 'static + Clone + IsA<MountOperation>,
fn equal<P>(&self, file2: &P) -> bool where
P: IsA<File>,
[src]
P: IsA<File>,
fn find_enclosing_mount<P>(
&self,
cancellable: Option<&P>
) -> Result<Mount, Error> where
P: IsA<Cancellable>,
[src]
&self,
cancellable: Option<&P>
) -> Result<Mount, Error> where
P: IsA<Cancellable>,
fn get_basename(&self) -> Option<PathBuf>
[src]
fn get_child<P>(&self, name: P) -> Option<File> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
fn get_child_for_display_name(&self, display_name: &str) -> Result<File, Error>
[src]
fn get_parent(&self) -> Option<File>
[src]
fn get_parse_name(&self) -> Option<GString>
[src]
fn get_path(&self) -> Option<PathBuf>
[src]
fn get_relative_path<P>(&self, descendant: &P) -> Option<PathBuf> where
P: IsA<File>,
[src]
P: IsA<File>,
fn get_uri(&self) -> GString
[src]
fn get_uri_scheme(&self) -> GString
[src]
fn has_parent<P>(&self, parent: Option<&P>) -> bool where
P: IsA<File>,
[src]
P: IsA<File>,
fn has_prefix<P>(&self, prefix: &P) -> bool where
P: IsA<File>,
[src]
P: IsA<File>,
fn has_uri_scheme(&self, uri_scheme: &str) -> bool
[src]
fn is_native(&self) -> bool
[src]
fn load_contents<P>(
&self,
cancellable: Option<&P>
) -> Result<(Vec<u8>, GString), Error> where
P: IsA<Cancellable>,
[src]
&self,
cancellable: Option<&P>
) -> Result<(Vec<u8>, GString), Error> where
P: IsA<Cancellable>,
fn load_contents_async<P, Q>(&self, cancellable: Option<&P>, callback: Q) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<(Vec<u8>, GString), Error>),
[src]
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<(Vec<u8>, GString), Error>),
fn load_contents_async_future(
&self
) -> Box<dyn Future<Output = Result<(Vec<u8>, GString), Error>> + 'static + Unpin>
[src]
&self
) -> Box<dyn Future<Output = Result<(Vec<u8>, GString), Error>> + 'static + Unpin>
fn make_directory<P>(&self, cancellable: Option<&P>) -> Result<(), Error> where
P: IsA<Cancellable>,
[src]
P: IsA<Cancellable>,
fn make_directory_async<P, Q>(
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<(), Error>),
[src]
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<(), Error>),
fn make_directory_async_future(
&self,
io_priority: Priority
) -> Box<dyn Future<Output = Result<(), Error>> + 'static + Unpin>
[src]
&self,
io_priority: Priority
) -> Box<dyn Future<Output = Result<(), Error>> + 'static + Unpin>
fn make_directory_with_parents<P>(
&self,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
[src]
&self,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
fn make_symbolic_link<P, Q>(
&self,
symlink_value: P,
cancellable: Option<&Q>
) -> Result<(), Error> where
P: AsRef<Path>,
Q: IsA<Cancellable>,
[src]
&self,
symlink_value: P,
cancellable: Option<&Q>
) -> Result<(), Error> where
P: AsRef<Path>,
Q: IsA<Cancellable>,
fn measure_disk_usage<P>(
&self,
flags: FileMeasureFlags,
cancellable: Option<&P>,
progress_callback: Option<Box<dyn Fn(bool, u64, u64, u64) + 'static>>
) -> Result<(u64, u64, u64), Error> where
P: IsA<Cancellable>,
[src]
&self,
flags: FileMeasureFlags,
cancellable: Option<&P>,
progress_callback: Option<Box<dyn Fn(bool, u64, u64, u64) + 'static>>
) -> Result<(u64, u64, u64), Error> where
P: IsA<Cancellable>,
fn monitor<P>(
&self,
flags: FileMonitorFlags,
cancellable: Option<&P>
) -> Result<FileMonitor, Error> where
P: IsA<Cancellable>,
[src]
&self,
flags: FileMonitorFlags,
cancellable: Option<&P>
) -> Result<FileMonitor, Error> where
P: IsA<Cancellable>,
fn monitor_directory<P>(
&self,
flags: FileMonitorFlags,
cancellable: Option<&P>
) -> Result<FileMonitor, Error> where
P: IsA<Cancellable>,
[src]
&self,
flags: FileMonitorFlags,
cancellable: Option<&P>
) -> Result<FileMonitor, Error> where
P: IsA<Cancellable>,
fn monitor_file<P>(
&self,
flags: FileMonitorFlags,
cancellable: Option<&P>
) -> Result<FileMonitor, Error> where
P: IsA<Cancellable>,
[src]
&self,
flags: FileMonitorFlags,
cancellable: Option<&P>
) -> Result<FileMonitor, Error> where
P: IsA<Cancellable>,
fn mount_enclosing_volume<P, Q, R>(
&self,
flags: MountMountFlags,
mount_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
) where
P: IsA<MountOperation>,
Q: IsA<Cancellable>,
R: 'static + Send + FnOnce(Result<(), Error>),
[src]
&self,
flags: MountMountFlags,
mount_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
) where
P: IsA<MountOperation>,
Q: IsA<Cancellable>,
R: 'static + Send + FnOnce(Result<(), Error>),
fn mount_enclosing_volume_future<P>(
&self,
flags: MountMountFlags,
mount_operation: Option<&P>
) -> Box<dyn Future<Output = Result<(), Error>> + 'static + Unpin> where
P: 'static + Clone + IsA<MountOperation>,
[src]
&self,
flags: MountMountFlags,
mount_operation: Option<&P>
) -> Box<dyn Future<Output = Result<(), Error>> + 'static + Unpin> where
P: 'static + Clone + IsA<MountOperation>,
fn mount_mountable<P, Q, R>(
&self,
flags: MountMountFlags,
mount_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
) where
P: IsA<MountOperation>,
Q: IsA<Cancellable>,
R: 'static + Send + FnOnce(Result<File, Error>),
[src]
&self,
flags: MountMountFlags,
mount_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
) where
P: IsA<MountOperation>,
Q: IsA<Cancellable>,
R: 'static + Send + FnOnce(Result<File, Error>),
fn mount_mountable_future<P>(
&self,
flags: MountMountFlags,
mount_operation: Option<&P>
) -> Box<dyn Future<Output = Result<File, Error>> + 'static + Unpin> where
P: 'static + Clone + IsA<MountOperation>,
[src]
&self,
flags: MountMountFlags,
mount_operation: Option<&P>
) -> Box<dyn Future<Output = Result<File, Error>> + 'static + Unpin> where
P: 'static + Clone + IsA<MountOperation>,
fn move_<P, Q>(
&self,
destination: &P,
flags: FileCopyFlags,
cancellable: Option<&Q>,
progress_callback: Option<&mut dyn FnMut(i64, i64)>
) -> Result<(), Error> where
P: IsA<File>,
Q: IsA<Cancellable>,
[src]
&self,
destination: &P,
flags: FileCopyFlags,
cancellable: Option<&Q>,
progress_callback: Option<&mut dyn FnMut(i64, i64)>
) -> Result<(), Error> where
P: IsA<File>,
Q: IsA<Cancellable>,
fn open_readwrite<P>(
&self,
cancellable: Option<&P>
) -> Result<FileIOStream, Error> where
P: IsA<Cancellable>,
[src]
&self,
cancellable: Option<&P>
) -> Result<FileIOStream, Error> where
P: IsA<Cancellable>,
fn open_readwrite_async<P, Q>(
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileIOStream, Error>),
[src]
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileIOStream, Error>),
fn open_readwrite_async_future(
&self,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileIOStream, Error>> + 'static + Unpin>
[src]
&self,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileIOStream, Error>> + 'static + Unpin>
fn poll_mountable<P, Q>(&self, cancellable: Option<&P>, callback: Q) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<(), Error>),
[src]
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<(), Error>),
fn poll_mountable_future(
&self
) -> Box<dyn Future<Output = Result<(), Error>> + 'static + Unpin>
[src]
&self
) -> Box<dyn Future<Output = Result<(), Error>> + 'static + Unpin>
fn query_default_handler<P>(
&self,
cancellable: Option<&P>
) -> Result<AppInfo, Error> where
P: IsA<Cancellable>,
[src]
&self,
cancellable: Option<&P>
) -> Result<AppInfo, Error> where
P: IsA<Cancellable>,
fn query_exists<P>(&self, cancellable: Option<&P>) -> bool where
P: IsA<Cancellable>,
[src]
P: IsA<Cancellable>,
fn query_file_type<P>(
&self,
flags: FileQueryInfoFlags,
cancellable: Option<&P>
) -> FileType where
P: IsA<Cancellable>,
[src]
&self,
flags: FileQueryInfoFlags,
cancellable: Option<&P>
) -> FileType where
P: IsA<Cancellable>,
fn query_filesystem_info<P>(
&self,
attributes: &str,
cancellable: Option<&P>
) -> Result<FileInfo, Error> where
P: IsA<Cancellable>,
[src]
&self,
attributes: &str,
cancellable: Option<&P>
) -> Result<FileInfo, Error> where
P: IsA<Cancellable>,
fn query_filesystem_info_async<P, Q>(
&self,
attributes: &str,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileInfo, Error>),
[src]
&self,
attributes: &str,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileInfo, Error>),
fn query_filesystem_info_async_future(
&self,
attributes: &str,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileInfo, Error>> + 'static + Unpin>
[src]
&self,
attributes: &str,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileInfo, Error>> + 'static + Unpin>
fn query_info<P>(
&self,
attributes: &str,
flags: FileQueryInfoFlags,
cancellable: Option<&P>
) -> Result<FileInfo, Error> where
P: IsA<Cancellable>,
[src]
&self,
attributes: &str,
flags: FileQueryInfoFlags,
cancellable: Option<&P>
) -> Result<FileInfo, Error> where
P: IsA<Cancellable>,
fn query_info_async<P, Q>(
&self,
attributes: &str,
flags: FileQueryInfoFlags,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileInfo, Error>),
[src]
&self,
attributes: &str,
flags: FileQueryInfoFlags,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileInfo, Error>),
fn query_info_async_future(
&self,
attributes: &str,
flags: FileQueryInfoFlags,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileInfo, Error>> + 'static + Unpin>
[src]
&self,
attributes: &str,
flags: FileQueryInfoFlags,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileInfo, Error>> + 'static + Unpin>
fn read<P>(&self, cancellable: Option<&P>) -> Result<FileInputStream, Error> where
P: IsA<Cancellable>,
[src]
P: IsA<Cancellable>,
fn read_async<P, Q>(
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileInputStream, Error>),
[src]
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileInputStream, Error>),
fn read_async_future(
&self,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileInputStream, Error>> + 'static + Unpin>
[src]
&self,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileInputStream, Error>> + 'static + Unpin>
fn replace<P>(
&self,
etag: Option<&str>,
make_backup: bool,
flags: FileCreateFlags,
cancellable: Option<&P>
) -> Result<FileOutputStream, Error> where
P: IsA<Cancellable>,
[src]
&self,
etag: Option<&str>,
make_backup: bool,
flags: FileCreateFlags,
cancellable: Option<&P>
) -> Result<FileOutputStream, Error> where
P: IsA<Cancellable>,
fn replace_async<P, Q>(
&self,
etag: Option<&str>,
make_backup: bool,
flags: FileCreateFlags,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileOutputStream, Error>),
[src]
&self,
etag: Option<&str>,
make_backup: bool,
flags: FileCreateFlags,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileOutputStream, Error>),
fn replace_async_future(
&self,
etag: Option<&str>,
make_backup: bool,
flags: FileCreateFlags,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileOutputStream, Error>> + 'static + Unpin>
[src]
&self,
etag: Option<&str>,
make_backup: bool,
flags: FileCreateFlags,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileOutputStream, Error>> + 'static + Unpin>
fn replace_contents<P>(
&self,
contents: &[u8],
etag: Option<&str>,
make_backup: bool,
flags: FileCreateFlags,
cancellable: Option<&P>
) -> Result<GString, Error> where
P: IsA<Cancellable>,
[src]
&self,
contents: &[u8],
etag: Option<&str>,
make_backup: bool,
flags: FileCreateFlags,
cancellable: Option<&P>
) -> Result<GString, Error> where
P: IsA<Cancellable>,
fn replace_readwrite<P>(
&self,
etag: Option<&str>,
make_backup: bool,
flags: FileCreateFlags,
cancellable: Option<&P>
) -> Result<FileIOStream, Error> where
P: IsA<Cancellable>,
[src]
&self,
etag: Option<&str>,
make_backup: bool,
flags: FileCreateFlags,
cancellable: Option<&P>
) -> Result<FileIOStream, Error> where
P: IsA<Cancellable>,
fn replace_readwrite_async<P, Q>(
&self,
etag: Option<&str>,
make_backup: bool,
flags: FileCreateFlags,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileIOStream, Error>),
[src]
&self,
etag: Option<&str>,
make_backup: bool,
flags: FileCreateFlags,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileIOStream, Error>),
fn replace_readwrite_async_future(
&self,
etag: Option<&str>,
make_backup: bool,
flags: FileCreateFlags,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileIOStream, Error>> + 'static + Unpin>
[src]
&self,
etag: Option<&str>,
make_backup: bool,
flags: FileCreateFlags,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileIOStream, Error>> + 'static + Unpin>
fn resolve_relative_path<P>(&self, relative_path: P) -> Option<File> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
fn set_attribute_byte_string<P>(
&self,
attribute: &str,
value: &str,
flags: FileQueryInfoFlags,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
[src]
&self,
attribute: &str,
value: &str,
flags: FileQueryInfoFlags,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
fn set_attribute_int32<P>(
&self,
attribute: &str,
value: i32,
flags: FileQueryInfoFlags,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
[src]
&self,
attribute: &str,
value: i32,
flags: FileQueryInfoFlags,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
fn set_attribute_int64<P>(
&self,
attribute: &str,
value: i64,
flags: FileQueryInfoFlags,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
[src]
&self,
attribute: &str,
value: i64,
flags: FileQueryInfoFlags,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
fn set_attribute_string<P>(
&self,
attribute: &str,
value: &str,
flags: FileQueryInfoFlags,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
[src]
&self,
attribute: &str,
value: &str,
flags: FileQueryInfoFlags,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
fn set_attribute_uint32<P>(
&self,
attribute: &str,
value: u32,
flags: FileQueryInfoFlags,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
[src]
&self,
attribute: &str,
value: u32,
flags: FileQueryInfoFlags,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
fn set_attribute_uint64<P>(
&self,
attribute: &str,
value: u64,
flags: FileQueryInfoFlags,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
[src]
&self,
attribute: &str,
value: u64,
flags: FileQueryInfoFlags,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
fn set_attributes_async<P, Q>(
&self,
info: &FileInfo,
flags: FileQueryInfoFlags,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileInfo, Error>),
[src]
&self,
info: &FileInfo,
flags: FileQueryInfoFlags,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<FileInfo, Error>),
fn set_attributes_async_future(
&self,
info: &FileInfo,
flags: FileQueryInfoFlags,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileInfo, Error>> + 'static + Unpin>
[src]
&self,
info: &FileInfo,
flags: FileQueryInfoFlags,
io_priority: Priority
) -> Box<dyn Future<Output = Result<FileInfo, Error>> + 'static + Unpin>
fn set_attributes_from_info<P>(
&self,
info: &FileInfo,
flags: FileQueryInfoFlags,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
[src]
&self,
info: &FileInfo,
flags: FileQueryInfoFlags,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
fn set_display_name<P>(
&self,
display_name: &str,
cancellable: Option<&P>
) -> Result<File, Error> where
P: IsA<Cancellable>,
[src]
&self,
display_name: &str,
cancellable: Option<&P>
) -> Result<File, Error> where
P: IsA<Cancellable>,
fn set_display_name_async<P, Q>(
&self,
display_name: &str,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<File, Error>),
[src]
&self,
display_name: &str,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<File, Error>),
fn set_display_name_async_future(
&self,
display_name: &str,
io_priority: Priority
) -> Box<dyn Future<Output = Result<File, Error>> + 'static + Unpin>
[src]
&self,
display_name: &str,
io_priority: Priority
) -> Box<dyn Future<Output = Result<File, Error>> + 'static + Unpin>
fn start_mountable<P, Q, R>(
&self,
flags: DriveStartFlags,
start_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
) where
P: IsA<MountOperation>,
Q: IsA<Cancellable>,
R: 'static + Send + FnOnce(Result<(), Error>),
[src]
&self,
flags: DriveStartFlags,
start_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
) where
P: IsA<MountOperation>,
Q: IsA<Cancellable>,
R: 'static + Send + FnOnce(Result<(), Error>),
fn start_mountable_future<P>(
&self,
flags: DriveStartFlags,
start_operation: Option<&P>
) -> Box<dyn Future<Output = Result<(), Error>> + 'static + Unpin> where
P: 'static + Clone + IsA<MountOperation>,
[src]
&self,
flags: DriveStartFlags,
start_operation: Option<&P>
) -> Box<dyn Future<Output = Result<(), Error>> + 'static + Unpin> where
P: 'static + Clone + IsA<MountOperation>,
fn stop_mountable<P, Q, R>(
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
) where
P: IsA<MountOperation>,
Q: IsA<Cancellable>,
R: 'static + Send + FnOnce(Result<(), Error>),
[src]
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
) where
P: IsA<MountOperation>,
Q: IsA<Cancellable>,
R: 'static + Send + FnOnce(Result<(), Error>),
fn stop_mountable_future<P>(
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>
) -> Box<dyn Future<Output = Result<(), Error>> + 'static + Unpin> where
P: 'static + Clone + IsA<MountOperation>,
[src]
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>
) -> Box<dyn Future<Output = Result<(), Error>> + 'static + Unpin> where
P: 'static + Clone + IsA<MountOperation>,
fn supports_thread_contexts(&self) -> bool
[src]
fn trash<P>(&self, cancellable: Option<&P>) -> Result<(), Error> where
P: IsA<Cancellable>,
[src]
P: IsA<Cancellable>,
fn trash_async<P, Q>(
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<(), Error>),
[src]
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
) where
P: IsA<Cancellable>,
Q: 'static + Send + FnOnce(Result<(), Error>),
fn trash_async_future(
&self,
io_priority: Priority
) -> Box<dyn Future<Output = Result<(), Error>> + 'static + Unpin>
[src]
&self,
io_priority: Priority
) -> Box<dyn Future<Output = Result<(), Error>> + 'static + Unpin>
fn unmount_mountable_with_operation<P, Q, R>(
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
) where
P: IsA<MountOperation>,
Q: IsA<Cancellable>,
R: 'static + Send + FnOnce(Result<(), Error>),
[src]
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
) where
P: IsA<MountOperation>,
Q: IsA<Cancellable>,
R: 'static + Send + FnOnce(Result<(), Error>),
fn unmount_mountable_with_operation_future<P>(
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>
) -> Box<dyn Future<Output = Result<(), Error>> + 'static + Unpin> where
P: 'static + Clone + IsA<MountOperation>,
[src]
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>
) -> Box<dyn Future<Output = Result<(), Error>> + 'static + Unpin> where
P: 'static + Clone + IsA<MountOperation>,
impl<O> FileExtManual for O where
O: IsA<File>,
[src]
O: IsA<File>,
fn replace_contents_async<B, R>(
&self,
contents: B,
etag: Option<&str>,
make_backup: bool,
flags: FileCreateFlags,
cancellable: Option<&Cancellable>,
callback: R
) where
B: 'static + Send + AsRef<[u8]>,
R: 'static + Send + FnOnce(Result<(B, GString), (B, Error)>),
[src]
&self,
contents: B,
etag: Option<&str>,
make_backup: bool,
flags: FileCreateFlags,
cancellable: Option<&Cancellable>,
callback: R
) where
B: 'static + Send + AsRef<[u8]>,
R: 'static + Send + FnOnce(Result<(B, GString), (B, Error)>),
fn replace_contents_async_future<B>(
&self,
contents: B,
etag: Option<&str>,
make_backup: bool,
flags: FileCreateFlags
) -> Box<dyn Future<Output = Result<(B, GString), (B, Error)>> + 'static + Unpin> where
B: 'static + Send + AsRef<[u8]>,
[src]
&self,
contents: B,
etag: Option<&str>,
make_backup: bool,
flags: FileCreateFlags
) -> Box<dyn Future<Output = Result<(B, GString), (B, Error)>> + 'static + Unpin> where
B: 'static + Send + AsRef<[u8]>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ObjectExt for T where
T: ObjectType,
[src]
T: ObjectType,
fn is<U>(&self) -> bool where
U: StaticType,
[src]
U: StaticType,
fn get_type(&self) -> Type
[src]
fn get_object_class(&self) -> &ObjectClass
[src]
fn set_property<'a, N>(
&self,
property_name: N,
value: &dyn ToValue
) -> Result<(), BoolError> where
N: Into<&'a str>,
[src]
&self,
property_name: N,
value: &dyn ToValue
) -> Result<(), BoolError> where
N: Into<&'a str>,
fn get_property<'a, N>(&self, property_name: N) -> Result<Value, BoolError> where
N: Into<&'a str>,
[src]
N: Into<&'a str>,
fn block_signal(&self, handler_id: &SignalHandlerId)
[src]
fn unblock_signal(&self, handler_id: &SignalHandlerId)
[src]
fn stop_signal_emission(&self, signal_name: &str)
[src]
fn disconnect(&self, handler_id: SignalHandlerId)
[src]
fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&T, &ParamSpec),
[src]
F: 'static + Send + Sync + Fn(&T, &ParamSpec),
unsafe fn connect_notify_unsafe<F>(
&self,
name: Option<&str>,
f: F
) -> SignalHandlerId where
F: Fn(&T, &ParamSpec),
[src]
&self,
name: Option<&str>,
f: F
) -> SignalHandlerId where
F: Fn(&T, &ParamSpec),
fn notify<'a, N>(&self, property_name: N) where
N: Into<&'a str>,
[src]
N: Into<&'a str>,
fn notify_by_pspec(&self, pspec: &ParamSpec)
[src]
fn has_property<'a, N>(
&self,
property_name: N,
type_: Option<Type>
) -> Result<(), BoolError> where
N: Into<&'a str>,
[src]
&self,
property_name: N,
type_: Option<Type>
) -> Result<(), BoolError> where
N: Into<&'a str>,
fn get_property_type<'a, N>(&self, property_name: N) -> Option<Type> where
N: Into<&'a str>,
[src]
N: Into<&'a str>,
fn find_property<'a, N>(&self, property_name: N) -> Option<ParamSpec> where
N: Into<&'a str>,
[src]
N: Into<&'a str>,
fn list_properties(&self) -> Vec<ParamSpec>
[src]
fn connect<'a, N, F>(
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
N: Into<&'a str>,
[src]
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
N: Into<&'a str>,
unsafe fn connect_unsafe<'a, N, F>(
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value>,
N: Into<&'a str>,
[src]
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value>,
N: Into<&'a str>,
fn emit<'a, N>(
&self,
signal_name: N,
args: &[&dyn ToValue]
) -> Result<Option<Value>, BoolError> where
N: Into<&'a str>,
[src]
&self,
signal_name: N,
args: &[&dyn ToValue]
) -> Result<Option<Value>, BoolError> where
N: Into<&'a str>,
fn downgrade(&self) -> WeakRef<T>
[src]
fn bind_property<'a, O, N, M>(
&'a self,
source_property: N,
target: &'a O,
target_property: M
) -> BindingBuilder<'a> where
M: Into<&'a str>,
N: Into<&'a str>,
O: ObjectType,
[src]
&'a self,
source_property: N,
target: &'a O,
target_property: M
) -> BindingBuilder<'a> where
M: Into<&'a str>,
N: Into<&'a str>,
O: ObjectType,
fn ref_count(&self) -> u32
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
[src]
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_container_from_slice(
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
[src]
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_full_from_slice(_t: &[T]) -> *const GList
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GArray
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
[src]
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
[src]
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GList
[src]
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
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>,