Expand description
Device-model traits implemented by capability crates.
These traits describe the roles a piece of hardware can play in an
application: a connectable Device, a Sensor that produces readings, an
Actuator that accepts commands, and a Telemetry source that streams
frames. A single type may implement more than one of them.
The futures these traits return are Send, as a Transport’s
are, so a node built from any sensor and actuator can be driven from a task on a
multi-threaded runtime and erased behind a trait object that is. An implementation
written as async fn satisfies this as long as everything it holds across an await
is Send; a driver generic over a bus says so with a Send bound on the bus.