[−][src]Struct crdts::vclock::Dot
Dot is a version marker for a single actor
Fields
actor: A
The actor identifier
counter: u64
The current version of this actor
Methods
impl<A: Actor> Dot<A>
[src]
Trait Implementations
impl<A: PartialEq> PartialEq<Dot<A>> for Dot<A>
[src]
impl<A: Eq> Eq for Dot<A>
[src]
impl<A: Actor> From<Dot<A>> for VClock<A>
[src]
impl<A: Clone> Clone for Dot<A>
[src]
fn clone(&self) -> Dot<A>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<A: Debug> Debug for Dot<A>
[src]
impl<A: Actor> FromIterator<Dot<A>> for VClock<A>
[src]
fn from_iter<I: IntoIterator<Item = Dot<A>>>(iter: I) -> Self
[src]
impl<A> Serialize for Dot<A> where
A: Serialize,
[src]
A: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de, A> Deserialize<'de> for Dot<A> where
A: Deserialize<'de>,
[src]
A: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl<A> Send for Dot<A> where
A: Send,
A: Send,
impl<A> Unpin for Dot<A> where
A: Unpin,
A: Unpin,
impl<A> Sync for Dot<A> where
A: Sync,
A: Sync,
impl<A> UnwindSafe for Dot<A> where
A: UnwindSafe,
A: UnwindSafe,
impl<A> RefUnwindSafe for Dot<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
Blanket Implementations
impl<T> Val for T where
T: PartialEq<T> + Clone + Debug,
[src]
T: PartialEq<T> + Clone + Debug,
impl<T> Val for T where
T: Clone + Debug,
[src]
T: Clone + Debug,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
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>,
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<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,