pub enum UpdateType {
AtSource,
Downstream,
}Expand description
Distinguishes the two phases of an op-based CRDT update.
Variants§
AtSource
Executed only on the originating replica; checks preconditions.
Downstream
Executed on all replicas; applies the actual state change.
Auto Trait Implementations§
impl Freeze for UpdateType
impl RefUnwindSafe for UpdateType
impl Send for UpdateType
impl Sync for UpdateType
impl Unpin for UpdateType
impl UnsafeUnpin for UpdateType
impl UnwindSafe for UpdateType
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