Type Definition cnx::widgets::WidgetStream[][src]

pub type WidgetStream = Pin<Box<dyn Stream<Item = Result<Vec<Text>>>>>;
Expand description

The stream of Vec<Text> returned by each widget.

This simple type alias makes referring to this stream a little easier. For more information on the stream (and how widgets are structured), please refer to the documentation on the Widget trait.

Any errors on the stream are logged but do not affect the runtime of the main crate::Cnx instance.