Struct fxbox_taxonomy::api::WatchOptions
[−]
[src]
pub struct WatchOptions { pub source: GetSelector, pub should_watch_values: bool, pub should_watch_topology: bool, // some fields omitted }
Options for watching changes in one or more channels.
Fields
source | The set of inputs to watch. Note that the actual inputs in the set may change over time. |
should_watch_values | If |
should_watch_topology | If |
Methods
impl WatchOptions
fn new() -> Self
fn with_inputs(self, req: GetSelector) -> Self
Restrict to input channels in a given set.
Also note that the actual input channels that are part of the
set may change with time, for instance if devices are added
ore removed. The selector is live, i.e. the channel watch
will continue watching any input channels that match req
.