Module vfs::directory::dirents_sink
source · Expand description
Types that help describe get_entry_names
callback for the lazy directories.
Enums§
- Result of the
Sink::append
method. See there for details.
Traits§
- When a sink has reached it’s full capacity or when the producer has exhausted all the values it had, sink is transformed into a value that implements this trait. It helps to reduce the number of possible states the sink has. Once “sealed” it can not be converted back into a
Sink
instance. And the only way forward is to call theSelf::open()
method to downcast sink into the underlying type that gives access to the data that the sink have stored. - Every sink that can consume directory entry information implements this trait.