pub struct ActivationId(/* private fields */);Expand description
Monotonically increasing identity for one workspace activation request.
Identities are allocated before an activation mutates active source state. A higher identity is therefore newer intent; a prepared activation may commit only while its identity is still the latest requested one.
Implementations§
Trait Implementations§
Source§impl Clone for ActivationId
impl Clone for ActivationId
Source§fn clone(&self) -> ActivationId
fn clone(&self) -> ActivationId
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 moreimpl Copy for ActivationId
Source§impl Debug for ActivationId
impl Debug for ActivationId
Source§impl Display for ActivationId
impl Display for ActivationId
impl Eq for ActivationId
Source§impl Hash for ActivationId
impl Hash for ActivationId
Source§impl Ord for ActivationId
impl Ord for ActivationId
Source§fn cmp(&self, other: &ActivationId) -> Ordering
fn cmp(&self, other: &ActivationId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ActivationId
impl PartialEq for ActivationId
Source§impl PartialOrd for ActivationId
impl PartialOrd for ActivationId
impl StructuralPartialEq for ActivationId
Auto Trait Implementations§
impl Freeze for ActivationId
impl RefUnwindSafe for ActivationId
impl Send for ActivationId
impl Sync for ActivationId
impl Unpin for ActivationId
impl UnsafeUnpin for ActivationId
impl UnwindSafe for ActivationId
Blanket Implementations§
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.