Skip to main content

report_for

Function report_for 

Source
pub fn report_for(dial: &Dial, control: Option<&Reasoning>) -> InForce
Expand description

The whole report for a dial and the route behind it: the one construction every front uses.

control is what the next request’s route resolves to (crate::provider::Reasoning), and it supplies both halves the dial cannot answer alone — the declared default (#276) and the backend’s own sentence for what a level becomes. Agent::reasoning_report(), the full-screen read-out and /reasoning all call this, so a surface cannot describe the dial differently from the command that moved it.