pub struct NoOpHooks;Expand description
Default hook implementation (no side effects).
Trait Implementations§
Source§impl TurnHooks for NoOpHooks
impl TurnHooks for NoOpHooks
fn on_artifact_loaded(&self, _agent_id: &str, _node_count: usize)
fn on_persona_compiled(&self, _contribution: Option<&str>)
fn on_memory_context_ready(&self, _ctx: &MemoryContext)
fn on_episode_recorded(&self, _episode_id: Uuid)
fn on_patch_dispatched(&self, _label: &str, _fitness: f32)
fn on_extraction_complete(&self, _report: &ExtractionReport)
fn on_emit(&self, _target: &str, _payload: &Value)
fn on_turn_complete(&self, _output: &TurnOutput)
Auto Trait Implementations§
impl Freeze for NoOpHooks
impl RefUnwindSafe for NoOpHooks
impl Send for NoOpHooks
impl Sync for NoOpHooks
impl Unpin for NoOpHooks
impl UnsafeUnpin for NoOpHooks
impl UnwindSafe for NoOpHooks
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