Struct timely::dataflow::operators::Capability
source · pub struct Capability<T: Timestamp> { /* private fields */ }
Expand description
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
sourceimpl<T: Timestamp> Capability<T>
impl<T: Timestamp> Capability<T>
sourcepub fn delayed(&self, new_time: &T) -> Capability<T>
pub 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
.
Trait Implementations
sourceimpl<T: Timestamp> Clone for Capability<T>
impl<T: Timestamp> Clone for Capability<T>
sourcefn clone(&self) -> Capability<T>
fn clone(&self) -> Capability<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<T: Timestamp> Debug for Capability<T>
impl<T: Timestamp> Debug for Capability<T>
sourceimpl<T: Timestamp> Deref for Capability<T>
impl<T: Timestamp> Deref for Capability<T>
sourceimpl<T: Timestamp> Drop for Capability<T>
impl<T: Timestamp> Drop for Capability<T>
sourceimpl<T: Timestamp> Hash for Capability<T>
impl<T: Timestamp> Hash for Capability<T>
sourceimpl<T: Timestamp> PartialEq<Capability<T>> for Capability<T>
impl<T: Timestamp> PartialEq<Capability<T>> for Capability<T>
sourceimpl<T: Timestamp> PartialOrder for Capability<T>
impl<T: Timestamp> PartialOrder for Capability<T>
impl<T: Timestamp> Eq for Capability<T>
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more