Expand description
Common utilities used by both directory and file traits.
Macros§
- Converts a lower-case attribute name into the appropriate NodeAttributesQuery flag. This is used by the attributes! macro.
Enums§
- Wrapper for
fio::CreationMode
which replaces [fio::OpenMode
] at API level 19. Can be removed when we stop supporting API level 18, and replaced withfio::CreationMode
directly.
Traits§
- Trait to be used as a supertrait when an object should allow dynamic casting to an Any.
Functions§
- Common logic for rights processing during cloning a node, shared by both file and directory implementations.
- Returns equivalent POSIX mode/permission bits based on the specified rights. Note that these only set the user bits.
- A helper method to send OnOpen event on the handle owned by the
server_end
in caseflags
containsOPEN_FLAG_STATUS
. - Returns true if the rights flags in
flags
do not exceed those inparent_flags
.