pub struct RmCtx<A: Ord> {
pub clock: VClock<A>,
}
Expand description
RmCtx is used for mutations that remove information from a CRDT
Fields§
§clock: VClock<A>
The removing vclock context
Trait Implementations§
source§impl<'de, A> Deserialize<'de> for RmCtx<A>where
A: Deserialize<'de> + Ord,
impl<'de, A> Deserialize<'de> for RmCtx<A>where 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
Auto Trait Implementations§
impl<A> RefUnwindSafe for RmCtx<A>where A: RefUnwindSafe,
impl<A> Send for RmCtx<A>where A: Send,
impl<A> Sync for RmCtx<A>where A: Sync,
impl<A> Unpin for RmCtx<A>
impl<A> UnwindSafe for RmCtx<A>where A: RefUnwindSafe,
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