Struct rtlola_frontend::mir::OutputStream [−][src]
pub struct OutputStream { pub name: String, pub ty: Type, pub instance_template: InstanceTemplate, pub expr: Expression, pub accesses: Vec<StreamReference>, pub accessed_by: Vec<StreamReference>, pub aggregated_by: Vec<(StreamReference, WindowReference)>, pub memory_bound: MemorizationBound, pub layer: StreamLayers, pub reference: StreamReference, }
Expand description
Contains all information relevant to every kind of output stream.
Refer to TimeDrivenStream, EventDrivenStream, and Trigger, as well as their respective fields in the Mir for additional information.
Fields
name: String
The name of the stream.
ty: Type
The type of the stream.
instance_template: InstanceTemplate
Information on the spawn and parametrization behavior of this stream if appropriate
expr: Expression
The stream expression
accesses: Vec<StreamReference>
The collection of streams this stream accesses non-transitively. Includes this stream’s spawn, filter, and close expressions.
accessed_by: Vec<StreamReference>
The collection of streams that access the current stream non-transitively
aggregated_by: Vec<(StreamReference, WindowReference)>
The collection of sliding windows that access this stream non-transitively. This includes both sliding and discrete windows.
memory_bound: MemorizationBound
Provides the number of values of this stream’s type that need to be memorized. Refer to Type::size to get a type’s byte-size.
layer: StreamLayers
Provides the evaluation of layer of this stream.
reference: StreamReference
The reference referring to this stream
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Reports the evaluation layer of the spawn condition of the stream.
Reports the evaluation layer of the stream.
Indicates whether or not the stream has parameters.
Indicates whether or not the stream spawned / dynamically created.
Indicates how many values of the stream’s Type need to be memorized.
Produces a stream references referring to the stream.
Auto Trait Implementations
impl RefUnwindSafe for OutputStream
impl Send for OutputStream
impl Sync for OutputStream
impl Unpin for OutputStream
impl UnwindSafe for OutputStream
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self