[][src]Enum crdts::mvreg::Op

pub enum Op<V: Val, A: Actor> {
    Put {
        clock: VClock<A>,
        val: V,
    },
}

Defines the set of operations over the MVReg

Variants

Put

Put a value

Fields of Put

clock: VClock<A>

context of the operation

val: V

the value to put

Trait Implementations

impl<V: Clone + Val, A: Clone + Actor> Clone for Op<V, A>[src]

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

Performs copy-assignment from source. Read more

impl<V: Eq + Val, A: Eq + Actor> Eq for Op<V, A>[src]

impl<V: PartialEq + Val, A: PartialEq + Actor> PartialEq<Op<V, A>> for Op<V, A>[src]

impl<V: Debug + Val, A: Debug + Actor> Debug for Op<V, A>[src]

impl<V: Val, A: Actor> Serialize for Op<V, A> where
    V: Serialize,
    A: Serialize
[src]

impl<'de, V: Val, A: Actor> Deserialize<'de> for Op<V, A> where
    V: Deserialize<'de>,
    A: Deserialize<'de>, 
[src]

Auto Trait Implementations

impl<V, A> Sync for Op<V, A> where
    A: Sync,
    V: Sync

impl<V, A> Unpin for Op<V, A> where
    A: Unpin,
    V: Unpin

impl<V, A> Send for Op<V, A> where
    A: Send,
    V: Send

impl<V, A> UnwindSafe for Op<V, A> where
    A: RefUnwindSafe + UnwindSafe,
    V: UnwindSafe

impl<V, A> RefUnwindSafe for Op<V, A> where
    A: RefUnwindSafe,
    V: RefUnwindSafe

Blanket Implementations

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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]