Expand description
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§
- Single
Buffer Event Producer - An event producer for an event that has one buffer of data.
- Single
Name Event Producer - An event producer for an event containing only one name. It is slightly optimized, but
otherwise functionally equivalent to the
StaticVecEventProducer
with an array of one element. - Static
VecEvent Producer - An
EventProducer
that uses aVec<String>
with names of the entires to be put into the watcher event.
Traits§
- Event
Producer - Watcher event producer, that generates buffers filled with watcher events. Watchers use this
API to obtain buffers that are then sent to the actual watchers. Every producer may generate
multiple events, but they all need to be of the same type, as returned by
Self::event()
andSelf::mask()
methods.