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]
fn time(&self) -> &T
The timestamp associated with this capability.
fn delayed(&self, new_time: &T) -> Capability<T>
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
.
fn downgrade(&mut self, new_time: &T)
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]
impl<T: Timestamp> Clone for Capability<T>
[src]
fn clone(&self) -> Capability<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<T: Timestamp> Deref for Capability<T>
[src]
type Target = T
The resulting type after dereferencing
fn deref(&self) -> &T
The method called to dereference a value
impl<T: Timestamp> Debug for Capability<T>
[src]
impl<T: Timestamp> PartialEq for Capability<T>
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl<T: Timestamp> Eq for Capability<T>
[src]
impl<T: Timestamp> PartialOrder for Capability<T>
[src]
fn less_equal(&self, other: &Self) -> bool
Returns true iff one element is less than or equal to the other.
fn less_than(&self, other: &Self) -> bool
Returns true iff one element is strictly less than the other.