pub trait MountExt: 'static {
Show 26 methods fn can_eject(&self) -> bool; fn can_unmount(&self) -> bool; fn eject_with_operation<P: FnOnce(Result<(), Error>) + 'static>(
        &self,
        flags: MountUnmountFlags,
        mount_operation: Option<&impl IsA<MountOperation>>,
        cancellable: Option<&impl IsA<Cancellable>>,
        callback: P
    ); fn eject_with_operation_future(
        &self,
        flags: MountUnmountFlags,
        mount_operation: Option<&impl IsA<MountOperation> + Clone + 'static>
    ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>; fn default_location(&self) -> File; fn drive(&self) -> Option<Drive>; fn icon(&self) -> Icon; fn name(&self) -> GString; fn root(&self) -> File; fn sort_key(&self) -> Option<GString>; fn symbolic_icon(&self) -> Icon; fn uuid(&self) -> Option<GString>; fn volume(&self) -> Option<Volume>; fn guess_content_type<P: FnOnce(Result<Vec<GString>, Error>) + 'static>(
        &self,
        force_rescan: bool,
        cancellable: Option<&impl IsA<Cancellable>>,
        callback: P
    ); fn guess_content_type_future(
        &self,
        force_rescan: bool
    ) -> Pin<Box_<dyn Future<Output = Result<Vec<GString>, Error>> + 'static>>; fn guess_content_type_sync(
        &self,
        force_rescan: bool,
        cancellable: Option<&impl IsA<Cancellable>>
    ) -> Result<Vec<GString>, Error>; fn is_shadowed(&self) -> bool; fn remount<P: FnOnce(Result<(), Error>) + 'static>(
        &self,
        flags: MountMountFlags,
        mount_operation: Option<&impl IsA<MountOperation>>,
        cancellable: Option<&impl IsA<Cancellable>>,
        callback: P
    ); fn remount_future(
        &self,
        flags: MountMountFlags,
        mount_operation: Option<&impl IsA<MountOperation> + Clone + 'static>
    ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>; fn shadow(&self); fn unmount_with_operation<P: FnOnce(Result<(), Error>) + 'static>(
        &self,
        flags: MountUnmountFlags,
        mount_operation: Option<&impl IsA<MountOperation>>,
        cancellable: Option<&impl IsA<Cancellable>>,
        callback: P
    ); fn unmount_with_operation_future(
        &self,
        flags: MountUnmountFlags,
        mount_operation: Option<&impl IsA<MountOperation> + Clone + 'static>
    ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>; fn unshadow(&self); fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; fn connect_pre_unmount<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_unmounted<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
}

Required Methods

Implementors