pub struct FsAccess(/* private field */);A set of operational filesystem capabilities.
The default is FsAccess::NONE. The bits limit what web content may do
through fs.*; the application’s own Rust code is not restricted by them.
Associated constants
No native filesystem capability.
Read a regular file’s contents.
Enumerate a directory under the strict visibility policy.
Replace the contents of an existing file.
Create new files and directories.
Remove files and empty directories.
Methods
#pub const fn contains(self, other: FsAccess) -> bool
Returns true when every bit of other is present.
#pub const fn union(self, other: FsAccess) -> FsAccess
Returns the union of both sets; the const form of |.