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

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.

Implementations

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> Clone for Capability<T>[src]

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

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

type Target = T

The resulting type after dereferencing.

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

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

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

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

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

Auto Trait Implementations

impl<T> !RefUnwindSafe for Capability<T>

impl<T> !Send for Capability<T>

impl<T> !Sync for Capability<T>

impl<T> Unpin for Capability<T> where
    T: Unpin

impl<T> !UnwindSafe for Capability<T>

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.