Struct timely::progress::Source[][src]

pub struct Source {
    pub node: usize,
    pub port: usize,
}

Names a source of a data stream.

A source of data is either a child output, or an input from a parent. Conventionally, index zero is used for parent input.

Fields

node: usize

Index of the source operator.

port: usize

Number of the output port from the operator.

Implementations

impl Source[src]

pub fn new(node: usize, port: usize) -> Self[src]

Creates a new source from node and port identifiers.

Trait Implementations

impl Clone for Source[src]

impl Copy for Source[src]

impl Debug for Source[src]

impl Eq for Source[src]

impl From<Source> for Location[src]

impl Ord for Source[src]

impl PartialEq<Source> for Source[src]

impl PartialOrd<Source> for Source[src]

impl StructuralEq for Source[src]

impl StructuralPartialEq for Source[src]

Auto Trait Implementations

impl RefUnwindSafe for Source

impl Send for Source

impl Sync for Source

impl Unpin for Source

impl UnwindSafe for Source

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Data for T where
    T: 'static + Clone
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ProgressEventTimestamp for T where
    T: Data + Any + Debug
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.