structstd.os.linux.fanotify.MarkMask[src]

Fields

ACCESS: bool = false

File was accessed

MODIFY: bool = false

File was modified

ATTRIB: bool = false

Metadata changed

CLOSE_WRITE: bool = false

Writtable file closed

CLOSE_NOWRITE: bool = false

Unwrittable file closed

OPEN: bool = false

File was opened

MOVED_FROM: bool = false

File was moved from X

MOVED_TO: bool = false

File was moved to Y

CREATE: bool = false

Subfile was created

DELETE: bool = false

Subfile was deleted

DELETE_SELF: bool = false

Self was deleted

MOVE_SELF: bool = false

Self was moved

OPEN_EXEC: bool = false

File was opened for exec

reserved13: u1 = 0
Q_OVERFLOW: bool = false

Event queued overflowed

FS_ERROR: bool = false

Filesystem error

OPEN_PERM: bool = false

File open in perm check

ACCESS_PERM: bool = false

File accessed in perm check

OPEN_EXEC_PERM: bool = false

File open/exec in perm check

reserved19: u8 = 0
EVENT_ON_CHILD: bool = false

Interested in child events

RENAME: bool = false

File was renamed

reserved30: u1 = 0
ONDIR: bool = false

Event occurred against dir

reserved31: u33 = 0

Source Code

Source code
pub const MarkMask = packed struct(u64) {
    /// File was accessed
    ACCESS: bool = false,
    /// File was modified
    MODIFY: bool = false,
    /// Metadata changed
    ATTRIB: bool = false,
    /// Writtable file closed
    CLOSE_WRITE: bool = false,
    /// Unwrittable file closed
    CLOSE_NOWRITE: bool = false,
    /// File was opened
    OPEN: bool = false,
    /// File was moved from X
    MOVED_FROM: bool = false,
    /// File was moved to Y
    MOVED_TO: bool = false,

    /// Subfile was created
    CREATE: bool = false,
    /// Subfile was deleted
    DELETE: bool = false,
    /// Self was deleted
    DELETE_SELF: bool = false,
    /// Self was moved
    MOVE_SELF: bool = false,
    /// File was opened for exec
    OPEN_EXEC: bool = false,
    reserved13: u1 = 0,
    /// Event queued overflowed
    Q_OVERFLOW: bool = false,
    /// Filesystem error
    FS_ERROR: bool = false,

    /// File open in perm check
    OPEN_PERM: bool = false,
    /// File accessed in perm check
    ACCESS_PERM: bool = false,
    /// File open/exec in perm check
    OPEN_EXEC_PERM: bool = false,
    reserved19: u8 = 0,
    /// Interested in child events
    EVENT_ON_CHILD: bool = false,
    /// File was renamed
    RENAME: bool = false,
    reserved30: u1 = 0,
    /// Event occurred against dir
    ONDIR: bool = false,
    reserved31: u33 = 0,
}