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
Auto 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