Trait ux::prelude::VolumeMonitorExt[]

pub trait VolumeMonitorExt: 'static {
Show methods pub fn get_connected_drives(&self) -> Vec<Drive, Global>;
pub fn get_mount_for_uuid(&self, uuid: &str) -> Option<Mount>;
pub fn get_mounts(&self) -> Vec<Mount, Global>;
pub fn get_volume_for_uuid(&self, uuid: &str) -> Option<Volume>;
pub fn get_volumes(&self) -> Vec<Volume, Global>;
pub fn connect_drive_changed<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &Drive)
;
pub fn connect_drive_connected<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &Drive)
;
pub fn connect_drive_disconnected<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &Drive)
;
pub fn connect_drive_eject_button<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &Drive)
;
pub fn connect_drive_stop_button<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &Drive)
;
pub fn connect_mount_added<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &Mount)
;
pub fn connect_mount_changed<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &Mount)
;
pub fn connect_mount_pre_unmount<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &Mount)
;
pub fn connect_mount_removed<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &Mount)
;
pub fn connect_volume_added<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &Volume)
;
pub fn connect_volume_changed<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &Volume)
;
pub fn connect_volume_removed<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &Volume)
;
}

Required methods

pub fn get_connected_drives(&self) -> Vec<Drive, Global>

pub fn get_mount_for_uuid(&self, uuid: &str) -> Option<Mount>

pub fn get_mounts(&self) -> Vec<Mount, Global>

pub fn get_volume_for_uuid(&self, uuid: &str) -> Option<Volume>

pub fn get_volumes(&self) -> Vec<Volume, Global>

pub fn connect_drive_changed<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self, &Drive), 

pub fn connect_drive_connected<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self, &Drive), 

pub fn connect_drive_disconnected<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self, &Drive), 

pub fn connect_drive_eject_button<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self, &Drive), 

pub fn connect_drive_stop_button<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self, &Drive), 

pub fn connect_mount_added<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self, &Mount), 

pub fn connect_mount_changed<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self, &Mount), 

pub fn connect_mount_pre_unmount<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self, &Mount), 

pub fn connect_mount_removed<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self, &Mount), 

pub fn connect_volume_added<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self, &Volume), 

pub fn connect_volume_changed<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self, &Volume), 

pub fn connect_volume_removed<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self, &Volume), 

Loading content...

Implementors

impl<O> VolumeMonitorExt for O where
    O: IsA<VolumeMonitor>, 

Loading content...