Module watchers

Source
Expand description

Watchers handles a list of watcher connections attached to a directory. Watchers as described in fuchsia.io.

Modules§

event_producers
When generating a watcher event, one needs “a list of names” that are then converted into buffers sent to the watchers. In a sense, an iterator over a list of strings would work, but in order to avoid copying the data around, this namespace provides a more specialized version of this abstraction.

Structs§

Controller
Watchers
Wraps all watcher connections observing one directory. The directory is responsible for calling Self::add() and Self::send_event() method when appropriate to make sure watchers are observing a consistent view.