pub struct RgaDelta<T: Clone + Ord> {
pub new_elements: Vec<RgaNode<T>>,
pub tombstoned_ids: Vec<(NodeId, u64)>,
pub version: BTreeMap<NodeId, u64>,
}Expand description
Delta for Rga: elements and tombstones that the other replica is missing.
Fields§
§new_elements: Vec<RgaNode<T>>Elements that the other replica doesn’t have yet.
tombstoned_ids: Vec<(NodeId, u64)>IDs of elements that are deleted in source but not in other.
version: BTreeMap<NodeId, u64>Version vector of the source.
Trait Implementations§
impl<T: Eq + Clone + Ord> Eq for RgaDelta<T>
impl<T: Clone + Ord> StructuralPartialEq for RgaDelta<T>
Auto Trait Implementations§
impl<T> Freeze for RgaDelta<T>
impl<T> RefUnwindSafe for RgaDelta<T>where
T: RefUnwindSafe,
impl<T> Send for RgaDelta<T>where
T: Send,
impl<T> Sync for RgaDelta<T>where
T: Sync,
impl<T> Unpin for RgaDelta<T>where
T: Unpin,
impl<T> UnsafeUnpin for RgaDelta<T>
impl<T> UnwindSafe for RgaDelta<T>where
T: 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