on_data_record

Function on_data_record 

Source
pub fn on_data_record<T, R>(reactor: R) -> OnDataRecord<R>
where R: Reactor<T, ()>,
Expand description

Constructs a Reactor that reacts to the data record T.

This function is typically paired with a sequencing combinator like then or and to construct a reactor for a particular type of data record.