Trait gio::VolumeExt[][src]

pub trait VolumeExt: Sized {
    fn can_eject(&self) -> bool;
fn can_mount(&self) -> bool;
fn eject<'a, P: Into<Option<&'a Cancellable>>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
        &self,
        flags: MountUnmountFlags,
        cancellable: P,
        callback: Q
    );
fn eject_with_operation<'a, 'b, P: Into<Option<&'a MountOperation>>, Q: Into<Option<&'b Cancellable>>, R: FnOnce(Result<(), Error>) + Send + 'static>(
        &self,
        flags: MountUnmountFlags,
        mount_operation: P,
        cancellable: Q,
        callback: R
    );
fn enumerate_identifiers(&self) -> Vec<String>;
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<String>;
fn get_mount(&self) -> Option<Mount>;
fn get_name(&self) -> Option<String>;
fn get_sort_key(&self) -> Option<String>;
fn get_symbolic_icon(&self) -> Option<Icon>;
fn get_uuid(&self) -> Option<String>;
fn mount<'a, 'b, P: Into<Option<&'a MountOperation>>, Q: Into<Option<&'b Cancellable>>, R: FnOnce(Result<(), Error>) + Send + 'static>(
        &self,
        flags: MountMountFlags,
        mount_operation: P,
        cancellable: Q,
        callback: R
    );
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; }

Required Methods

Deprecated

Important traits for Vec<u8>

Implementors