Module dirents_sink

Source
Expand description

Types that help describe get_entry_names callback for the lazy directories.

Enums§

AppendResult
Result of the Sink::append method. See there for details.

Traits§

Sealed
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.
Sink
Every sink that can consume directory entry information implements this trait.