[]Struct gio::UnixMountEntry

pub struct UnixMountEntry(_);

Defines a Unix mount entry (e.g. <filename>/media/cdrom</filename>). This corresponds roughly to a mtab entry.

Feature: v2_54


impl UnixMountEntry[src]

pub fn new_at<P: AsRef<Path>>(mount_path: P) -> (UnixMountEntry, u64)[src]

pub fn new_for<P: AsRef<Path>>(file_path: P) -> (UnixMountEntry, u64)[src]

pub fn get_mounts() -> (Vec<UnixMountEntry>, u64)[src]

pub fn compare(&self, mount2: &UnixMountEntry) -> i32[src]

pub fn get_device_path(&self) -> Option<PathBuf>[src]

pub fn get_fs_type(&self) -> Option<GString>[src]

pub fn unix_mount_get_mount_path(&self) -> Option<PathBuf>[src]

pub fn get_options(&self) -> Option<GString>[src]

pub fn get_root_path(&self) -> Option<PathBuf>[src]

pub fn guess_can_eject(&self) -> bool[src]

pub fn guess_icon(&self) -> Option<Icon>[src]

pub fn guess_name(&self) -> Option<GString>[src]

pub fn guess_should_display(&self) -> bool[src]

pub fn guess_symbolic_icon(&self) -> Option<Icon>[src]

pub fn is_readonly(&self) -> bool[src]

pub fn is_system_internal(&self) -> bool[src]

pub fn is_changed_since(time: u64) -> bool[src]

Trait Implementations

impl Clone for UnixMountEntry

impl Debug for UnixMountEntry[src]

impl Eq for UnixMountEntry[src]

impl Ord for UnixMountEntry[src]

impl PartialEq<UnixMountEntry> for UnixMountEntry[src]

impl PartialOrd<UnixMountEntry> for UnixMountEntry[src]

impl StaticType for UnixMountEntry

Auto Trait Implementations

impl RefUnwindSafe for UnixMountEntry

impl !Send for UnixMountEntry

impl !Sync for UnixMountEntry

impl Unpin for UnixMountEntry

impl UnwindSafe for UnixMountEntry

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized

impl<T> ToValue for T where
    T: SetValue + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.