Skip to main content

Module input

Module input 

Source
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.
BindingMapper
Configurable mapping from (ControlId, EventSelector) to downstream events.
FlushError
Failure report from QueuedInputSource::flush_to.
InputEvent
Fully owned event ready for an application input subsystem.
InputTiming
Logical and recognition times copied from a domain event.
QueuedInputSource
Pull-based input source backed by an unbounded FIFO.
Rejected
A sink rejection which returns ownership of the unaccepted event.
SourceId
Stable identifier assigned by the application to one input source.

Enums§

BindingError
Binding mapper failure. No output or sequence state is changed on failure.
BindingValue
Selects either an explicitly configured value or the domain payload.
EventSelector
Domain-event portion used when looking up configured bindings.
InputValue
Common values understood by button-oriented input subsystems.

Traits§

EventMapper
Maps one domain event into zero or more owned downstream events.
TryEventSink
A fallible, ownership-taking downstream event sink.