Skip to main content

QuestionForwarder

Trait QuestionForwarder 

Source
pub trait QuestionForwarder {
    // Required method
    fn forward_question(
        &mut self,
        agent_id: &str,
        kind: PermissionType,
        captured: &str,
    );
}
Expand description

Forwarder for unsafe prompts — abstracted so tests can record forwards.

Required Methods§

Source

fn forward_question( &mut self, agent_id: &str, kind: PermissionType, captured: &str, )

Forward a question to the supervisor dashboard inbox.

Returns the dispatch result; failures are logged but do not abort the poll tick.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§