[−][src]Trait gio::prelude::VolumeExt
Required methods
fn can_eject(&self) -> bool
fn can_mount(&self) -> bool
fn eject_with_operation<P: IsA<MountOperation>, Q: IsA<Cancellable>, R: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
)
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
)
fn eject_with_operation_future<P: IsA<MountOperation> + Clone + 'static>(
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
fn enumerate_identifiers(&self) -> Vec<GString>
fn get_activation_root(&self) -> Option<File>
fn get_drive(&self) -> Option<Drive>
fn get_icon(&self) -> Option<Icon>
fn get_identifier(&self, kind: &str) -> Option<GString>
fn get_mount(&self) -> Option<Mount>
fn get_name(&self) -> Option<GString>
fn get_sort_key(&self) -> Option<GString>
fn get_symbolic_icon(&self) -> Option<Icon>
fn get_uuid(&self) -> Option<GString>
fn mount<P: IsA<MountOperation>, Q: IsA<Cancellable>, R: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
flags: MountMountFlags,
mount_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
)
&self,
flags: MountMountFlags,
mount_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
)
fn mount_future<P: IsA<MountOperation> + Clone + 'static>(
&self,
flags: MountMountFlags,
mount_operation: Option<&P>
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
&self,
flags: MountMountFlags,
mount_operation: Option<&P>
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
fn should_automount(&self) -> bool
fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_removed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Implementors
impl<O: IsA<Volume>> VolumeExt for O
[src]
fn can_eject(&self) -> bool
[src]
fn can_mount(&self) -> bool
[src]
fn eject_with_operation<P: IsA<MountOperation>, Q: IsA<Cancellable>, R: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
)
[src]
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
)
fn eject_with_operation_future<P: IsA<MountOperation> + Clone + 'static>(
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
[src]
&self,
flags: MountUnmountFlags,
mount_operation: Option<&P>
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
fn enumerate_identifiers(&self) -> Vec<GString>
[src]
fn get_activation_root(&self) -> Option<File>
[src]
fn get_drive(&self) -> Option<Drive>
[src]
fn get_icon(&self) -> Option<Icon>
[src]
fn get_identifier(&self, kind: &str) -> Option<GString>
[src]
fn get_mount(&self) -> Option<Mount>
[src]
fn get_name(&self) -> Option<GString>
[src]
fn get_sort_key(&self) -> Option<GString>
[src]
fn get_symbolic_icon(&self) -> Option<Icon>
[src]
fn get_uuid(&self) -> Option<GString>
[src]
fn mount<P: IsA<MountOperation>, Q: IsA<Cancellable>, R: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
flags: MountMountFlags,
mount_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
)
[src]
&self,
flags: MountMountFlags,
mount_operation: Option<&P>,
cancellable: Option<&Q>,
callback: R
)
fn mount_future<P: IsA<MountOperation> + Clone + 'static>(
&self,
flags: MountMountFlags,
mount_operation: Option<&P>
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
[src]
&self,
flags: MountMountFlags,
mount_operation: Option<&P>
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>