Struct rtlola_interpreter::monitor::EventInput
source · pub struct EventInput<E: Into<Event> + CondSerialize + CondDeserialize> { /* private fields */ }
Expand description
The simplest input method to the monitor. It accepts any type that implements Into<Event>
.
The conversion to values and the order of inputs must be handled externally.
Trait Implementations§
source§impl<E: Clone + Into<Event> + CondSerialize + CondDeserialize> Clone for EventInput<E>
impl<E: Clone + Into<Event> + CondSerialize + CondDeserialize> Clone for EventInput<E>
source§fn clone(&self) -> EventInput<E>
fn clone(&self) -> EventInput<E>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<E: Debug + Into<Event> + CondSerialize + CondDeserialize> Debug for EventInput<E>
impl<E: Debug + Into<Event> + CondSerialize + CondDeserialize> Debug for EventInput<E>
source§impl<E: Into<Event> + Send + CondSerialize + CondDeserialize> Input for EventInput<E>
impl<E: Into<Event> + Send + CondSerialize + CondDeserialize> Input for EventInput<E>
§type CreationData = ()
type CreationData = ()
Arbitrary type of the data provided to the input source at creation time.
source§fn new(
_map: HashMap<String, InputReference>,
_setup_data: Self::CreationData
) -> Result<Self, Self::Error>
fn new(
_map: HashMap<String, InputReference>,
_setup_data: Self::CreationData
) -> Result<Self, Self::Error>
Creates a new input source from a HashMap mapping the names of the inputs in the specification to their position in the event.