Struct Subgraph

Source
pub struct Subgraph<TOuter, TInner>
where TOuter: Timestamp, TInner: Timestamp + Refines<TOuter>,
{ pub path: Rc<[usize]>, /* private fields */ }
Expand description

A dataflow subgraph.

The subgraph type contains the infrastructure required to describe the topology of and track progress within a dataflow subgraph.

Fields§

§path: Rc<[usize]>

Path of identifiers from the root.

Trait Implementations§

Source§

impl<TOuter, TInner> Operate<TOuter> for Subgraph<TOuter, TInner>
where TOuter: Timestamp, TInner: Timestamp + Refines<TOuter>,

Source§

fn local(&self) -> bool

Indicates if the operator is strictly local to this worker. Read more
Source§

fn inputs(&self) -> usize

The number of inputs.
Source§

fn outputs(&self) -> usize

The number of outputs.
Source§

fn get_internal_summary( &mut self, ) -> (Connectivity<TOuter::Summary>, Rc<RefCell<SharedProgress<TOuter>>>)

Fetches summary information about internal structure of the operator. Read more
Source§

fn set_external_summary(&mut self)

Signals that external frontiers have been set. Read more
Source§

fn notify_me(&self) -> bool

Indicates of whether the operator requires push_external_progress information or not.
Source§

impl<TOuter, TInner> Schedule for Subgraph<TOuter, TInner>
where TOuter: Timestamp, TInner: Timestamp + Refines<TOuter>,

Source§

fn name(&self) -> &str

A descriptive name for the operator
Source§

fn path(&self) -> &[usize]

An address identifying the operator.
Source§

fn schedule(&mut self) -> bool

Schedules the operator, receives “cannot terminate” boolean. Read more

Auto Trait Implementations§

§

impl<TOuter, TInner> Freeze for Subgraph<TOuter, TInner>
where TInner: Freeze,

§

impl<TOuter, TInner> !RefUnwindSafe for Subgraph<TOuter, TInner>

§

impl<TOuter, TInner> !Send for Subgraph<TOuter, TInner>

§

impl<TOuter, TInner> !Sync for Subgraph<TOuter, TInner>

§

impl<TOuter, TInner> Unpin for Subgraph<TOuter, TInner>
where TOuter: Unpin, TInner: Unpin,

§

impl<TOuter, TInner> !UnwindSafe for Subgraph<TOuter, TInner>

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CopyAs<T> for T

Source§

fn copy_as(self) -> T

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.