file_streams/file_access

Types

The access the current process has to a file, as returned in FileInfo.

pub type FileAccess {
  Read
  Write
  ReadWrite
  NoAccess
}

Constructors

  • Read

    The file can be read but not written.

  • Write

    The file can be written but not read.

  • ReadWrite

    The file can be both read and written.

  • NoAccess

    The file can be neither read nor written.

✨ Search Document