Struct rtlola_frontend::mir::InputStream[][src]

pub struct InputStream {
    pub name: String,
    pub ty: Type,
    pub accessed_by: Vec<StreamReference>,
    pub aggregated_by: Vec<(StreamReference, WindowReference)>,
    pub layer: StreamLayers,
    pub memory_bound: MemorizationBound,
    pub reference: StreamReference,
}
Expand description

Contains all information inherent to an input stream.

Fields

name: String

The name of the stream

ty: Type

The value type of the stream. Note that its pacing is always pre-determined.

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.

layer: StreamLayers

Provides the evaluation of layer of this stream.

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.

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

Compare self to key and return true if they are equal.

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.