pub enum QuestionAnswer {
Selected(Vec<String>),
FreeText(String),
NoHuman,
}Expand description
Re-exported so hotl_engine::QuestionAnswer resolves alongside
EngineEvent::Question — the type physically lives in hotl-types (shared
with hotl-tools’s QuestionSink) to avoid a hotl-tools → hotl-engine
dependency cycle; see question_sink’s doc comment.
A human’s answer to an ask_user question (tier-1 gap #4). Lives here
(not hotl-engine, where the plan first sketched it) so both hotl-tools’s
QuestionSink and hotl-engine’s EngineEvent::Question can share one
definition without either crate depending on the other — the same
cycle-avoidance the plan flagged as open, resolved the way Question
itself already is. NoHuman is the documented default when no reply
arrives (headless, DontAsk, a dropped reply channel): the model must
always get an answer, never a hang.
Variants§
Trait Implementations§
Source§impl Clone for QuestionAnswer
impl Clone for QuestionAnswer
Source§fn clone(&self) -> QuestionAnswer
fn clone(&self) -> QuestionAnswer
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more