#[non_exhaustive]pub enum LobeActivation {
AlwaysOn,
OnDemand,
Conditional,
}Expand description
When a lobe activates — used by the cognitive graph scheduler.
Currently informational. The Lobe::should_activate() method is the
runtime activation gate. This enum is available for future scheduling
optimizations (e.g., skip should_activate() call for AlwaysOn lobes).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AlwaysOn
Runs every cognitive cycle.
OnDemand
Runs only when should_activate() returns true.
Conditional
Runs based on external trigger (e.g., low confidence).
Trait Implementations§
Source§impl Clone for LobeActivation
impl Clone for LobeActivation
Source§fn clone(&self) -> LobeActivation
fn clone(&self) -> LobeActivation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LobeActivation
impl Debug for LobeActivation
Source§impl<'de> Deserialize<'de> for LobeActivation
impl<'de> Deserialize<'de> for LobeActivation
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
Source§impl PartialEq for LobeActivation
impl PartialEq for LobeActivation
Source§fn eq(&self, other: &LobeActivation) -> bool
fn eq(&self, other: &LobeActivation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LobeActivation
impl Serialize for LobeActivation
impl StructuralPartialEq for LobeActivation
Auto Trait Implementations§
impl Freeze for LobeActivation
impl RefUnwindSafe for LobeActivation
impl Send for LobeActivation
impl Sync for LobeActivation
impl Unpin for LobeActivation
impl UnsafeUnpin for LobeActivation
impl UnwindSafe for LobeActivation
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