pub struct QueuedTaskFence { /* private fields */ }Expand description
Optimistic ownership fence for a queued task.
Implementations§
Source§impl QueuedTaskFence
impl QueuedTaskFence
pub fn task_id(&self) -> &str
pub fn task_generation(&self) -> u64
pub fn record_version(&self) -> u64
Trait Implementations§
Source§impl Clone for QueuedTaskFence
impl Clone for QueuedTaskFence
Source§fn clone(&self) -> QueuedTaskFence
fn clone(&self) -> QueuedTaskFence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QueuedTaskFence
impl Debug for QueuedTaskFence
impl Eq for QueuedTaskFence
Source§impl PartialEq for QueuedTaskFence
impl PartialEq for QueuedTaskFence
impl StructuralPartialEq for QueuedTaskFence
Auto Trait Implementations§
impl Freeze for QueuedTaskFence
impl RefUnwindSafe for QueuedTaskFence
impl Send for QueuedTaskFence
impl Sync for QueuedTaskFence
impl Unpin for QueuedTaskFence
impl UnsafeUnpin for QueuedTaskFence
impl UnwindSafe for QueuedTaskFence
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more