pub enum EventType {
Error,
Reward,
AttentionRequest,
NovelDetection,
ThresholdCrossing,
DriveUpdate,
SafetyAlert,
}Expand description
Type of workspace event.
Variants§
Error
An error occurred in a core.
Reward
A reward signal was produced.
AttentionRequest
A core is requesting attention (wants the spotlight).
NovelDetection
A novel detection was made (unexpected pattern, anomaly).
ThresholdCrossing
A metric crossed a threshold (from self-model or homeostasis).
DriveUpdate
A drive state changed (curiosity, caution, etc.).
SafetyAlert
A safety alert was triggered (from reflex tier or dharma).
Implementations§
Trait Implementations§
impl Copy for EventType
Source§impl<'de> Deserialize<'de> for EventType
impl<'de> Deserialize<'de> for EventType
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
impl Eq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnsafeUnpin for EventType
impl UnwindSafe for EventType
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