pub trait RuntimeRead {
Show 14 methods
// Required methods
fn model(&self) -> &str;
fn thinking_level(&self) -> &str;
fn reasoning_level(&self) -> ReasoningLevel;
fn is_reasoning_explicit(&self) -> bool;
fn thinking_budget(&self) -> u32;
fn context_window(&self) -> u64;
fn system_prompt(&self) -> Option<&str>;
fn compaction_model(&self) -> &str;
fn api_retries(&self) -> u32;
fn subagent_timeout(&self) -> u64;
fn max_tool_output(&self) -> usize;
fn bash_timeout(&self) -> u64;
fn bash_max_timeout(&self) -> u64;
fn prompt_inspection_json(&self) -> Option<String>;
}Expand description
The 14 getters, with the EXACT signatures Runtime has today, so TUI
call sites compile against either. Implemented for Runtime by
delegation and for RuntimeView by field access.
Required Methods§
fn model(&self) -> &str
fn thinking_level(&self) -> &str
fn reasoning_level(&self) -> ReasoningLevel
fn is_reasoning_explicit(&self) -> bool
fn thinking_budget(&self) -> u32
fn context_window(&self) -> u64
fn system_prompt(&self) -> Option<&str>
fn compaction_model(&self) -> &str
fn api_retries(&self) -> u32
fn subagent_timeout(&self) -> u64
fn max_tool_output(&self) -> usize
fn bash_timeout(&self) -> u64
fn bash_max_timeout(&self) -> u64
Sourcefn prompt_inspection_json(&self) -> Option<String>
fn prompt_inspection_json(&self) -> Option<String>
RuntimeView: cached at snapshot time.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".