pub enum TxOp {
Add(EntityRef, EntityId, Value),
Retract(EntityRef, EntityId, Value),
Cas(EntityRef, EntityId, Option<Value>, Value),
RetractEntity(EntityRef),
}Expand description
A transaction operation after boundary conversion.
Variants§
Add(EntityRef, EntityId, Value)
Assert a fact.
Retract(EntityRef, EntityId, Value)
Retract a fact.
Cas(EntityRef, EntityId, Option<Value>, Value)
Compare and swap a cardinality-one value.
RetractEntity(EntityRef)
Recursively retract an entity and its component children.
Trait Implementations§
impl Eq for TxOp
impl StructuralPartialEq for TxOp
Auto Trait Implementations§
impl Freeze for TxOp
impl RefUnwindSafe for TxOp
impl Send for TxOp
impl Sync for TxOp
impl Unpin for TxOp
impl UnsafeUnpin for TxOp
impl UnwindSafe for TxOp
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