[−][src]Struct timely::dataflow::operators::Capability
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_equal(&self, other: &Self) -> bool
[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(&self) -> 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]
fn eq(&self, other: &Self) -> bool
[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]
impl<T: Timestamp> Hash for Capability<T>
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
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]
T: 'static + Clone,
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,