Type Definition drmem_api::driver::SettingStream

source ·
pub type SettingStream<T> = Pin<Box<dyn Stream<Item = (T, SettingReply<T>)> + Send + Sync>>;
Expand description

The driver is given a stream that yields setting requests. If the driver uses a type that can be converted to and from a device::Value, this stream will automatically reject settings that aren’t of the correct type and pass on converted values.