Struct rtlola_frontend::mir::Trigger [−][src]
pub struct Trigger { pub message: String, pub info_streams: Vec<StreamReference>, pub reference: StreamReference, pub trigger_reference: TriggerReference, }
Expand description
Wrapper for output streams that are in-fact triggers. Provides additional information specific to triggers.
Fields
message: String
The trigger message that is supposed to be conveyed to the user if the trigger reports a violation.
info_streams: Vec<StreamReference>
A collection of streams which can be used in the message. Their value is printed when the trigger is activated.
reference: StreamReference
A reference to the output stream representing this trigger.
trigger_reference: TriggerReference
The reference referring to this stream
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Trigger
impl UnwindSafe for Trigger
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
type Output = T
type Output = T
Should always be Self