[][src]Struct timely::dataflow::operators::Capability

pub struct Capability<T: Timestamp> { /* fields omitted */ }

The capability to send data with a certain timestamp on a dataflow edge.

Capabilities are used by timely dataflow's progress tracking machinery to restrict and track when user code retains the ability to send messages on dataflow edges. All capabilities are constructed by the system, and should eventually be dropped by the user. Failure to drop a capability (for whatever reason) will cause timely dataflow's progress tracking to stall.

Methods

impl<T: Timestamp> Capability<T>[src]

pub fn time(&self) -> &T[src]

The timestamp associated with this capability.

pub fn delayed(&self, new_time: &T) -> Capability<T>[src]

Makes a new capability for a timestamp new_time greater or equal to the timestamp of the source capability (self).

This method panics if self.time is not less or equal to new_time.

pub fn downgrade(&mut self, new_time: &T)[src]

Downgrades the capability to one corresponding to new_time.

This method panics if self.time is not less or equal to new_time.

Trait Implementations

impl<T: Timestamp> PartialOrder for Capability<T>[src]

fn less_than(&self, other: &Self) -> bool[src]

Returns true iff one element is strictly less than the other.

impl<T: Timestamp> Clone for Capability<T>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Timestamp> PartialEq<Capability<T>> for Capability<T>[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl<T: Timestamp> Eq for Capability<T>[src]

impl<T: Timestamp> Drop for Capability<T>[src]

impl<T: Timestamp> Deref for Capability<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T: Timestamp> Hash for Capability<T>[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<T: Timestamp> Debug for Capability<T>[src]

Auto Trait Implementations

impl<T> !Send for Capability<T>

impl<T> !Sync for Capability<T>

Blanket Implementations

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

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

impl<T> From for T[src]

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

type Owned = T

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

The type returned in the event of a conversion error.

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

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