[][src]Struct crdts::pncounter::Op

pub struct Op<A: Actor> {
    pub dot: Dot<A>,
    pub dir: Dir,
}

An Op which is produced through from mutating the counter Ship these ops to other replicas to have them sync up.

Fields

dot: Dot<A>

The witnessing dot for this op

dir: Dir

the direction to move the counter

Trait Implementations

impl<A: Clone + Actor> Clone for Op<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 Op<A>[src]

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

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

Auto Trait Implementations

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

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

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

impl<A> UnwindSafe for Op<A> where
    A: UnwindSafe

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

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> 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]