[−][src]Enum crdts::orswot::Op
Op's define an edit to an Orswot, Op's must be replayed in the exact order they were produced to guarantee convergence.
Op's are idempotent, that is, applying an Op twice will not have an effect
Variants
Add
Add a member to the set
Fields of Add
Rm
Remove a member from the set
Fields of Rm
Trait Implementations
impl<M: PartialEq + Member, A: PartialEq + Actor> PartialEq<Op<M, A>> for Op<M, A>
[src]
impl<M: Eq + Member, A: Eq + Actor> Eq for Op<M, A>
[src]
impl<M: Clone + Member, A: Clone + Actor> Clone for Op<M, A>
[src]
fn clone(&self) -> Op<M, A>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<M: Debug + Member, A: Debug + Actor> Debug for Op<M, A>
[src]
impl<M: Member, A: Actor> Serialize for Op<M, A> where
M: Serialize,
A: Serialize,
[src]
M: Serialize,
A: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de, M: Member, A: Actor> Deserialize<'de> for Op<M, A> where
M: Deserialize<'de>,
A: Deserialize<'de>,
[src]
M: Deserialize<'de>,
A: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl<M, A> Send for Op<M, A> where
A: Send,
M: Send,
A: Send,
M: Send,
impl<M, A> Unpin for Op<M, A> where
A: Unpin,
M: Unpin,
A: Unpin,
M: Unpin,
impl<M, A> Sync for Op<M, A> where
A: Sync,
M: Sync,
A: Sync,
M: Sync,
impl<M, A> UnwindSafe for Op<M, A> where
A: RefUnwindSafe + UnwindSafe,
M: RefUnwindSafe + UnwindSafe,
A: RefUnwindSafe + UnwindSafe,
M: RefUnwindSafe + UnwindSafe,
impl<M, A> RefUnwindSafe for Op<M, A> where
A: RefUnwindSafe,
M: RefUnwindSafe,
A: RefUnwindSafe,
M: 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>,