vfs::directory

Module dirents_sink

Source
Expand description

Types that help describe get_entry_names callback for the lazy directories.

Enums§

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 the Self::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.