Module read_dirents

Source
Expand description

A sink that can consume directory entry information, encoding them as expected by fuchsia.io Directory::ReadDirents result.

Structs§

Done
An instance of this type is a ReadDirents result sink that is full and may not consume any more values.
Sink
An instance of this type represents a sink that may still accept additional entries. Depending on the entry size it may turn itself into a Done value, indicating that the internal buffer is full.

Functions§

read_dirents
Helper for implementing crate::directory::entry_container::Directory::read_dirents.