Skip to main content

fs::FileInfoFlags

Types

AccessFlags#

  • null

read_ok#

Details#

Check if read access is allowed

write_ok#

Details#

Check if write access is allowed

execute_ok#

Details#

Check if execute access is allowed

file_ok#

Details#

Check if file exists

OpenFlags#

  • null

read_only#

Details#

Open as read-only

write_only#

Details#

Open as write-only

create#

Details#

Create when opening (files)

truncate#

Details#

Truncate when opening (files)

append#

Details#

Append when opening (files)

exclusive#

Details#

Create exclusively (files)

read_write#

Details#

Open as read-write

non_block#

Details#

Open as non-blocking

no_delay#

Details#

Open as non-blocking - binary

access_mode#

Details#

Access mode mask

PermissionFlags#

  • none
  • public_execute
  • public_write
  • public_read
  • group_execute
  • group_write
  • group_read
  • owner_execute
  • owner_write
  • owner_read

TypeFlags#

  • null

mask#

Details#

Mode format mask

regular#

Details#

Mode regular file value

character#

Details#

Mode character device value

directory#

Details#

Mode directory value

fifo#

Details#

Mode FIFO value