pub struct PlanModeState { /* private fields */ }Expand description
The shared plan-mode state: whether the read-only research phase is active, and the plan accumulated so far.
Held as an Arc on ToolContext, so enter_plan_mode,
exit_plan_mode, the REPL’s /plan command, and the agent’s permission
gate all read and write ONE object.
Implementations§
Trait Implementations§
Source§impl Debug for PlanModeState
impl Debug for PlanModeState
Source§impl Default for PlanModeState
impl Default for PlanModeState
Source§fn default() -> PlanModeState
fn default() -> PlanModeState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for PlanModeState
impl RefUnwindSafe for PlanModeState
impl Send for PlanModeState
impl Sync for PlanModeState
impl Unpin for PlanModeState
impl UnsafeUnpin for PlanModeState
impl UnwindSafe for PlanModeState
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