Struct timely::dataflow::operators::Capability [−][src]
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]
fn clone(&self) -> Capability<T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Timestamp> Debug for Capability<T>
[src]
impl<T: Timestamp> Deref for Capability<T>
[src]
impl<T: Timestamp> Drop for Capability<T>
[src]
impl<T: Timestamp> Eq for Capability<T>
[src]
impl<T: Timestamp> Hash for Capability<T>
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
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,
T: Unpin,
impl<T> !UnwindSafe for Capability<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Data for T where
T: 'static + Clone,
[src]
T: 'static + Clone,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ProgressEventTimestamp for T where
T: Data + Any + Debug,
[src]
T: Data + Any + Debug,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,