Skip to main content

Module file

Module file 

Source
Expand description

Restricted file handles that enforce capability boundaries.

Unlike std::fs::File which implements both Read and Write, these wrappers only expose the I/O trait matching the permission used to obtain them.

Structs§

ReadFile
A file handle that only supports reading.
WriteFile
A file handle that only supports writing.