#[non_exhaustive]pub enum Reach {
SessionOnly,
Delegates,
Operator,
Inside,
Outside,
EditsProject,
Host {
listed: bool,
},
Server,
Persists(&'static str),
Refused(String),
Unknown,
}Expand description
How far a call reaches beyond the session itself.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SessionOnly
Only the session’s own state: todos, tasks, the mailbox, the plan.
Delegates
Starts other calls, each judged on its own.
Operator
Only endpoints the operator configured.
Inside
Within the roots the session works in without asking: the readable ones for a read, the writable ones for a write.
Outside
A path outside those roots.
EditsProject
Runs code the model did not write that may change files inside the project only: asked about unless the mode accepts edits.
Host
A host the model chose; listed when web.allowed_domains names it.
Server
An MCP server’s tool, whose word about itself does not count.
Persists(&'static str)
Leaves something behind that acts later on its own.
Refused(String)
The tool knows this input must not run, and says why.
Unknown
Trait Implementations§
impl Eq for Reach
impl StructuralPartialEq for Reach
Auto Trait Implementations§
impl Forget for Reach
impl Freeze for Reach
impl Move for Reach
impl RefUnwindSafe for Reach
impl Send for Reach
impl Sync for Reach
impl Unpin for Reach
impl UnsafeUnpin for Reach
impl UnwindSafe for Reach
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