Struct gio::UnixMountPoint [−][src]
pub struct UnixMountPoint(_);
Expand description
Defines a Unix mount point (e.g. <filename>/dev</filename>).
This corresponds roughly to a fstab entry.
Implementations
This is supported on Unix and crate feature v2_54 only.
v2_54 only.This is supported on Unix and crate feature v2_54 only.
v2_54 only.This is supported on Unix and crate feature v2_54 only.
v2_54 only.This is supported on Unix and crate feature v2_54 only.
v2_54 only.This is supported on Unix and crate feature v2_54 only.
v2_54 only.This is supported on Unix and crate feature v2_54 only.
v2_54 only.This is supported on Unix and crate feature v2_54 only.
v2_54 only.Guesses the name of a Unix mount point. The result is a translated string.
Returns
A newly allocated string that must
be freed with g_free()
This is supported on Unix and crate feature v2_54 only.
v2_54 only.This is supported on Unix and crate feature v2_54 only.
v2_54 only.This is supported on Unix and crate feature v2_54 only.
v2_54 only.This is supported on Unix and crate feature v2_54 only.
v2_54 only.This is supported on Unix and crate feature v2_54 and crate feature v2_66 only.
v2_54 and crate feature v2_66 only.Gets a UnixMountPoint for a given mount path. If time_read is set, it
will be filled with a unix timestamp for checking if the mount points have
changed since with g_unix_mount_points_changed_since().
If more mount points have the same mount path, the last matching mount point is returned.
mount_path
path for a possible unix mount point.
Returns
a UnixMountPoint, or None if no match
is found.
time_read
guint64 to contain a timestamp.
Trait Implementations
impl PartialEq<UnixMountPoint> for UnixMountPointThis is supported on Unix and crate feature v2_54 only.
impl PartialEq<UnixMountPoint> for UnixMountPointv2_54 only.impl PartialOrd<UnixMountPoint> for UnixMountPointThis is supported on Unix and crate feature v2_54 only.
impl PartialOrd<UnixMountPoint> for UnixMountPointv2_54 only.This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Returns the type identifier of Self.
Auto Trait Implementations
impl RefUnwindSafe for UnixMountPointimpl !Send for UnixMountPointimpl !Sync for UnixMountPointimpl Unpin for UnixMountPointimpl UnwindSafe for UnixMountPointBlanket Implementations
Mutably borrows from an owned value. Read more
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,