pub enum Op<V, A: Ord> {
Put {
clock: VClock<A>,
val: V,
},
}
Expand description
Defines the set of operations over the MVReg
Variants§
Trait Implementations§
source§impl<'de, V, A> Deserialize<'de> for Op<V, A>where
V: Deserialize<'de>,
A: Deserialize<'de> + Ord,
impl<'de, V, A> Deserialize<'de> for Op<V, A>where V: Deserialize<'de>, A: Deserialize<'de> + Ord,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<V: PartialEq, A: PartialEq + Ord> PartialEq<Op<V, A>> for Op<V, A>
impl<V: PartialEq, A: PartialEq + Ord> PartialEq<Op<V, A>> for Op<V, A>
impl<V: Eq, A: Eq + Ord> Eq for Op<V, A>
impl<V, A: Ord> StructuralEq for Op<V, A>
impl<V, A: Ord> StructuralPartialEq for Op<V, A>
Auto Trait Implementations§
impl<V, A> RefUnwindSafe for Op<V, A>where A: RefUnwindSafe, V: RefUnwindSafe,
impl<V, A> Send for Op<V, A>where A: Send, V: Send,
impl<V, A> Sync for Op<V, A>where A: Sync, V: Sync,
impl<V, A> Unpin for Op<V, A>where V: Unpin,
impl<V, A> UnwindSafe for Op<V, A>where A: RefUnwindSafe, V: UnwindSafe,
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