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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 is an input 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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.