Enum rtlola_frontend::mir::StreamAccessKind
source · pub enum StreamAccessKind {
Sync,
DiscreteWindow(WindowReference),
SlidingWindow(WindowReference),
Hold,
Offset(Offset),
Get,
Fresh,
}
Expand description
Representation of the different stream accesses
Variants§
Sync
Represents the synchronous access
DiscreteWindow(WindowReference)
Represents the access to a (discrete window)DiscreteWindow
The argument contains the reference to the (discrete window)DiscreteWindow whose value is used in the Expression.
SlidingWindow(WindowReference)
Represents the access to a (sliding window)SlidingWindow
The argument contains the reference to the (sliding window)SlidingWindow whose value is used in the Expression.
Hold
Representation of sample and hold accesses
Offset(Offset)
Representation of offset accesses
The argument contains the Offset of the stream access.
Get
Represents the optional get
access.
Fresh
Represents the update check of a stream, if the target received a new value at this timestamp.
Trait Implementations§
source§impl Clone for StreamAccessKind
impl Clone for StreamAccessKind
source§fn clone(&self) -> StreamAccessKind
fn clone(&self) -> StreamAccessKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StreamAccessKind
impl Debug for StreamAccessKind
source§impl<'de> Deserialize<'de> for StreamAccessKind
impl<'de> Deserialize<'de> for StreamAccessKind
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<StreamAccessKind> for StreamAccessKind
impl PartialEq<StreamAccessKind> for StreamAccessKind
source§fn eq(&self, other: &StreamAccessKind) -> bool
fn eq(&self, other: &StreamAccessKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StreamAccessKind
impl Serialize for StreamAccessKind
impl Copy for StreamAccessKind
impl Eq for StreamAccessKind
impl StructuralEq for StreamAccessKind
impl StructuralPartialEq for StreamAccessKind
Auto Trait Implementations§
impl RefUnwindSafe for StreamAccessKind
impl Send for StreamAccessKind
impl Sync for StreamAccessKind
impl Unpin for StreamAccessKind
impl UnwindSafe for StreamAccessKind
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.