[][src]Struct crdts::ctx::AddCtx

pub struct AddCtx<A: Actor> {
    pub clock: VClock<A>,
    pub dot: Dot<A>,
}

AddCtx is used for mutations add new information to a CRDT

Fields

clock: VClock<A>

The adding vclock context

dot: Dot<A>

The Actor and the Actor's version at the time of the add

Trait Implementations

impl<A: Clone + Actor> Clone for AddCtx<A>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<A: Debug + Actor> Debug for AddCtx<A>[src]

impl<A: Actor> Serialize for AddCtx<A> where
    A: Serialize
[src]

impl<'de, A: Actor> Deserialize<'de> for AddCtx<A> where
    A: Deserialize<'de>, 
[src]

Auto Trait Implementations

impl<A> Sync for AddCtx<A> where
    A: Sync

impl<A> Send for AddCtx<A> where
    A: Send

impl<A> Unpin for AddCtx<A> where
    A: Unpin

impl<A> RefUnwindSafe for AddCtx<A> where
    A: RefUnwindSafe

impl<A> UnwindSafe for AddCtx<A> where
    A: RefUnwindSafe + UnwindSafe

Blanket Implementations

impl<T> Val for T where
    T: Clone + Debug
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]