Struct rtlola_frontend::mir::OutputStream
source · pub struct OutputStream {
pub name: String,
pub ty: Type,
pub spawn: Spawn,
pub eval: Eval,
pub close: Close,
pub accesses: Vec<(StreamReference, Vec<StreamAccessKind>)>,
pub accessed_by: Vec<(StreamReference, Vec<StreamAccessKind>)>,
pub aggregated_by: Vec<(StreamReference, WindowReference)>,
pub memory_bound: MemorizationBound,
pub layer: StreamLayers,
pub reference: StreamReference,
pub params: Vec<Parameter>,
}
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 value type of the stream.
spawn: Spawn
Information on the spawn behavior of the stream
eval: Eval
Information on the evaluation behavior of the stream
close: Close
The condition under which the stream is supposed to be closed
accesses: Vec<(StreamReference, Vec<StreamAccessKind>)>
The collection of streams this stream accesses non-transitively. Includes this stream’s spawn, evaluation condition, and close expressions.
accessed_by: Vec<(StreamReference, Vec<StreamAccessKind>)>
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
params: Vec<Parameter>
The parameters of a parameterized output stream; The vector is empty in non-parametrized streams
Trait Implementations§
source§impl Clone for OutputStream
impl Clone for OutputStream
source§fn clone(&self) -> OutputStream
fn clone(&self) -> OutputStream
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OutputStream
impl Debug for OutputStream
source§impl<'de> Deserialize<'de> for OutputStream
impl<'de> Deserialize<'de> for OutputStream
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl PartialEq<OutputStream> for OutputStream
impl PartialEq<OutputStream> for OutputStream
source§fn eq(&self, other: &OutputStream) -> bool
fn eq(&self, other: &OutputStream) -> bool
self
and other
values to be equal, and is used
by ==
.