pub enum OmegaEvent {
Show 21 variants
SystemStarted {
timestamp: DateTime<Utc>,
},
SystemShutdown {
timestamp: DateTime<Utc>,
},
SystemPaused {
timestamp: DateTime<Utc>,
},
SystemResumed {
timestamp: DateTime<Utc>,
},
LoopCycleStarted {
loop_type: LoopType,
cycle_id: Uuid,
timestamp: DateTime<Utc>,
},
LoopCycleCompleted {
loop_type: LoopType,
cycle_id: Uuid,
duration: Duration,
timestamp: DateTime<Utc>,
},
LoopError {
loop_type: LoopType,
error: String,
timestamp: DateTime<Utc>,
},
MemoryStored {
tier: MemoryTier,
id: Uuid,
size_bytes: usize,
timestamp: DateTime<Utc>,
},
MemoryRetrieved {
tier: MemoryTier,
id: Uuid,
timestamp: DateTime<Utc>,
},
MemoryConsolidated {
from_tier: MemoryTier,
to_tier: MemoryTier,
count: usize,
timestamp: DateTime<Utc>,
},
MemoryEvicted {
tier: MemoryTier,
id: Uuid,
timestamp: DateTime<Utc>,
},
IntelligenceCreated {
id: IntelligenceId,
architecture_id: ArchitectureId,
timestamp: DateTime<Utc>,
},
IntelligenceEvolved {
id: IntelligenceId,
generation: usize,
fitness: f64,
timestamp: DateTime<Utc>,
},
ArchitectureCreated {
id: ArchitectureId,
timestamp: DateTime<Utc>,
},
ArchitectureEvolved {
id: ArchitectureId,
fitness: f64,
timestamp: DateTime<Utc>,
},
ArchitectureMutated {
id: ArchitectureId,
timestamp: DateTime<Utc>,
},
AgentCreated {
agent_id: Uuid,
agent_type: String,
timestamp: DateTime<Utc>,
},
AgentDestroyed {
agent_id: Uuid,
timestamp: DateTime<Utc>,
},
AgentsPruned {
count: usize,
timestamp: DateTime<Utc>,
},
Error {
component: String,
error: String,
timestamp: DateTime<Utc>,
},
MetricsCollected {
component: String,
metrics: Value,
timestamp: DateTime<Utc>,
},
}Expand description
Events emitted by the Omega Runtime
Variants§
SystemStarted
SystemShutdown
SystemPaused
SystemResumed
LoopCycleStarted
LoopCycleCompleted
LoopError
MemoryStored
MemoryRetrieved
MemoryConsolidated
MemoryEvicted
IntelligenceCreated
IntelligenceEvolved
ArchitectureCreated
ArchitectureEvolved
ArchitectureMutated
AgentCreated
AgentDestroyed
AgentsPruned
Error
MetricsCollected
Implementations§
Source§impl OmegaEvent
impl OmegaEvent
Trait Implementations§
Source§impl Clone for OmegaEvent
impl Clone for OmegaEvent
Source§fn clone(&self) -> OmegaEvent
fn clone(&self) -> OmegaEvent
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 moreSource§impl Debug for OmegaEvent
impl Debug for OmegaEvent
Source§impl<'de> Deserialize<'de> for OmegaEvent
impl<'de> Deserialize<'de> for OmegaEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OmegaEvent
impl RefUnwindSafe for OmegaEvent
impl Send for OmegaEvent
impl Sync for OmegaEvent
impl Unpin for OmegaEvent
impl UnwindSafe for OmegaEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more