pub enum MenteEvent {
MemoryCreated {
id: MemoryId,
agent_id: AgentId,
},
MemoryUpdated {
id: MemoryId,
version: u64,
},
MemoryDeleted {
id: MemoryId,
},
EdgeCreated {
source: MemoryId,
target: MemoryId,
edge_type: EdgeType,
},
BeliefChanged {
id: MemoryId,
old_confidence: f32,
new_confidence: f32,
},
SpaceCreated {
id: SpaceId,
},
ContradictionDetected {
a: MemoryId,
b: MemoryId,
},
}Expand description
Events emitted by the memory system.
Variants§
MemoryCreated
MemoryUpdated
MemoryDeleted
EdgeCreated
BeliefChanged
SpaceCreated
ContradictionDetected
Trait Implementations§
Source§impl Clone for MenteEvent
impl Clone for MenteEvent
Source§fn clone(&self) -> MenteEvent
fn clone(&self) -> MenteEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MenteEvent
impl RefUnwindSafe for MenteEvent
impl Send for MenteEvent
impl Sync for MenteEvent
impl Unpin for MenteEvent
impl UnsafeUnpin for MenteEvent
impl UnwindSafe for MenteEvent
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