Struct lrs::fs::Flags

Mount flags of a filesystem.

Syntax

struct Flags(u64)

Fields

PositionDescription
1

The integer representing the flags.

Methods

ReceiverNameDescription
selfmandatory_locking

Returns whether the filesystem is mounted with support for mandatory locking.

selfno_access_time_update

Returns whether the access time of files in this filesystem is not automatically updated.

selfno_dev

Returns whether the filesystem is mounted without support for device special files.

selfno_dir_access_time_update

Returns whether the access time of directories in this filesystem is not automatically updated.

selfno_exec

Returns whether the filesystem is mounted without support for executables.

selfno_set_id

Returns whether the filesystem is mounted without support for set-user-ID and set-group-ID executables.

selfread_only

Returns whether the filesystem is mounted read only.

selfrelative_access_time_update

Returns whether the access time is only updated if its older than the modification or status change times.

selfsynchronous

Returns whether data and metadata modifications to this filesystem are flushed to the disk immediately.

Trait implementations

NameDescription
Clone

Objects that can be duplicated.

Copy

Objects that can safely be copied via memcpy.

Debug

Objects that can be formatted in a "debug" form.

Eq

Objects that implement the binary == and != operators.

MaybeClone

Objects that can be duplicated.

Pod

Objects that are safe to use if they contain a random bit pattern.