pub enum Step<'a> {
Add(&'a str),
Grant(&'a str, Access),
RemoveCommand(&'a str),
RemoveGrant(&'a str),
Explain,
}Expand description
Something the reader can do next, named the way the surface they are using spells it.
The MCP server runs these operations through the CLI and sets SAFE_CHAINS_SURFACE=mcp, so
a model calling tools is told which tool to call rather than a command it may have no shell for.
The variable changes wording only.
Variants§
Auto Trait Implementations§
impl<'a> Forget for Step<'a>
impl<'a> Freeze for Step<'a>
impl<'a> Move for Step<'a>
impl<'a> RefUnwindSafe for Step<'a>
impl<'a> Send for Step<'a>
impl<'a> Sync for Step<'a>
impl<'a> Unpin for Step<'a>
impl<'a> UnsafeUnpin for Step<'a>
impl<'a> UnwindSafe for Step<'a>
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