pub struct InputStream {
    pub name: String,
    pub ty: Type,
    pub accessed_by: Vec<(StreamReference, Vec<StreamAccessKind>)>,
    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, 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.

§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§

source§

impl Clone for InputStream

source§

fn clone(&self) -> InputStream

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputStream

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for InputStream

source§

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 Display for InputStream

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<InputStream> for InputStream

source§

fn eq(&self, other: &InputStream) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for InputStream

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Stream for InputStream

source§

fn spawn_layer(&self) -> Layer

Reports the evaluation layer of the spawn condition of the stream.
source§

fn eval_layer(&self) -> Layer

Reports the evaluation layer of the stream.
source§

fn name(&self) -> &str

Reports the name of the stream.
source§

fn ty(&self) -> &Type

Returns the type of the stream.
source§

fn is_input(&self) -> bool

Indicates whether or not the stream is an input stream.
source§

fn is_parameterized(&self) -> bool

Indicates whether or not the stream has parameters.
source§

fn is_spawned(&self) -> bool

Indicates whether or not the stream spawned / dynamically created.
source§

fn is_closed(&self) -> bool

Indicates whether or not the stream is closed.
source§

fn values_to_memorize(&self) -> MemorizationBound

Indicates how many values of the stream’s Type need to be memorized.
source§

fn as_stream_ref(&self) -> StreamReference

Produces a stream references referring to the stream.
source§

impl Eq for InputStream

source§

impl StructuralEq for InputStream

source§

impl StructuralPartialEq for InputStream

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere
    T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere
    T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere
    T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

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

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere
    U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere
    T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T> ToString for Twhere
    T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere
    U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere
    U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere
    T: for<'de> Deserialize<'de>,