Expand description
Adapters from button-domain events to an application’s input subsystem.
Recognition and delivery are deliberately separated. The recognition core
returns an owned EventBatch, while QueuedInputSource maps its domain
events into an unbounded VecDeque. A fallible downstream sink therefore
cannot make recognition state advance while losing an event.
Structs§
- Binding
- One configured downstream output for a domain selector.
- Binding
Mapper - Configurable mapping from
(ControlId, EventSelector)to downstream events. - Flush
Error - Failure report from
QueuedInputSource::flush_to. - Input
Event - Fully owned event ready for an application input subsystem.
- Input
Timing - Logical and recognition times copied from a domain event.
- Queued
Input Source - Pull-based input source backed by an unbounded FIFO.
- Rejected
- A sink rejection which returns ownership of the unaccepted event.
- Source
Id - Stable identifier assigned by the application to one input source.
Enums§
- Binding
Error - Binding mapper failure. No output or sequence state is changed on failure.
- Binding
Value - Selects either an explicitly configured value or the domain payload.
- Event
Selector - Domain-event portion used when looking up configured bindings.
- Input
Value - Common values understood by button-oriented input subsystems.
Traits§
- Event
Mapper - Maps one domain event into zero or more owned downstream events.
- TryEvent
Sink - A fallible, ownership-taking downstream event sink.