Module vfs::directory::entry

source ·
Expand description

Common trait for all the directory entry objects.

Structs§

  • Information about a directory entry, used to populate ReadDirents() output. The first element is the inode number, or INO_UNKNOWN (from fuchsia.io) if not set, and the second element is one of the DIRENT_TYPE_* constants defined in the fuchsia.io.
  • An open request.
  • A sub-node of a directory. This will work with types that implement Directory as well as RemoteDir.

Enums§

  • Wraps flags used for open requests based on which fuchsia.io/Directory.Open method was used. Used to delegate OpenRequest to the corresponding method when the entry is opened.

Traits§

  • Pseudo directories contain items that implement this trait. Pseudo directories refer to the items they contain as Arc<dyn DirectoryEntry>.
  • Trait that can be implemented to process open requests asynchronously.
  • Give useful information about the entry, for example, the directory entry type.

Functions§

  • Serves a directory with the given rights. Returns a client end. This takes a DirectoryEntry so that it works for remotes.