pub enum SyncAction {
InsertEdge {
source: u32,
target: u32,
},
RemoveOverlayEdge {
source: u32,
target: u32,
},
DeleteEdge {
edge_id: u32,
},
DeleteNode {
node_id: u32,
},
TruncateOverlays,
}Expand description
One durable sync row interpreted by the library.
Variants§
InsertEdge
Insert a new overlay edge between dense node ids.
RemoveOverlayEdge
Remove a previously inserted overlay edge between dense node ids.
DeleteEdge
Tombstone a base edge id.
DeleteNode
Tombstone a node id from query results.
TruncateOverlays
Truncate all overlays (maintenance prelude).
Trait Implementations§
Source§impl Clone for SyncAction
impl Clone for SyncAction
Source§fn clone(&self) -> SyncAction
fn clone(&self) -> SyncAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SyncAction
Source§impl Debug for SyncAction
impl Debug for SyncAction
impl Eq for SyncAction
Source§impl PartialEq for SyncAction
impl PartialEq for SyncAction
Source§fn eq(&self, other: &SyncAction) -> bool
fn eq(&self, other: &SyncAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SyncAction
Auto Trait Implementations§
impl Freeze for SyncAction
impl RefUnwindSafe for SyncAction
impl Send for SyncAction
impl Sync for SyncAction
impl Unpin for SyncAction
impl UnsafeUnpin for SyncAction
impl UnwindSafe for SyncAction
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