pub enum SyncActionWire {
InsertEdge {
source: NodeKey,
target: NodeKey,
},
RemoveOverlayEdge {
source: NodeKey,
target: NodeKey,
},
DeleteEdge {
edge_id: u32,
},
DeleteNode {
node_id: u32,
},
TruncateOverlays,
}Expand description
Persisted sync-log action before dense-node resolution.
Variants§
InsertEdge
Insert an overlay edge keyed by registered (table_id, primary_key) pairs.
Fields
RemoveOverlayEdge
Remove an overlay edge keyed by registered node keys.
Fields
DeleteEdge
Tombstone a base CSR edge id (already dense).
DeleteNode
Tombstone a dense node id (already dense).
TruncateOverlays
Truncate all overlay buffers.
Trait Implementations§
Source§impl Clone for SyncActionWire
impl Clone for SyncActionWire
Source§fn clone(&self) -> SyncActionWire
fn clone(&self) -> SyncActionWire
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 SyncActionWire
Source§impl Debug for SyncActionWire
impl Debug for SyncActionWire
impl Eq for SyncActionWire
Source§impl PartialEq for SyncActionWire
impl PartialEq for SyncActionWire
Source§fn eq(&self, other: &SyncActionWire) -> bool
fn eq(&self, other: &SyncActionWire) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SyncActionWire
Auto Trait Implementations§
impl Freeze for SyncActionWire
impl RefUnwindSafe for SyncActionWire
impl Send for SyncActionWire
impl Sync for SyncActionWire
impl Unpin for SyncActionWire
impl UnsafeUnpin for SyncActionWire
impl UnwindSafe for SyncActionWire
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