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.

Methods

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

Important traits for &'a mut R

The timestamp associated with this capability.

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.

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

Executes the destructor for this type. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

The resulting type after dereferencing.

Important traits for &'a mut R

Dereferences the value.

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

Formats the value using the given formatter. Read more

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

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

Returns true iff one element is less than or equal to the other.

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

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

Feeds this value into the given [Hasher]. Read more

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

Auto Trait Implementations

impl<T> !Send for Capability<T>

impl<T> !Sync for Capability<T>