pub struct SubstrateManager { /* private fields */ }Expand description
Manager for the consciousness-computation substrate
Implementations§
Source§impl SubstrateManager
impl SubstrateManager
Sourcepub fn add_layer(&mut self, layer: SubstrateLayer) -> Result<()>
pub fn add_layer(&mut self, layer: SubstrateLayer) -> Result<()>
Add a substrate layer
Sourcepub fn execute_primitive_operation(
&mut self,
primitive_id: &str,
operation_name: &str,
_input: Value,
consciousness_context: Option<&ConsciousnessState>,
) -> Result<Value>
pub fn execute_primitive_operation( &mut self, primitive_id: &str, operation_name: &str, _input: Value, consciousness_context: Option<&ConsciousnessState>, ) -> Result<Value>
Execute a primitive operation across the substrate
Sourcepub fn get_statistics(&self) -> SubstrateStatistics
pub fn get_statistics(&self) -> SubstrateStatistics
Get current substrate statistics
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SubstrateManager
impl RefUnwindSafe for SubstrateManager
impl Send for SubstrateManager
impl Sync for SubstrateManager
impl Unpin for SubstrateManager
impl UnsafeUnpin for SubstrateManager
impl UnwindSafe for SubstrateManager
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