pub enum WebmcpSlashCommand {
Status,
Help,
Tools,
Roots,
ConnectHelp,
Connect {
origin: String,
replace: bool,
},
Unpair,
}Expand description
A parsed /webmcp slash command.
Variants§
Status
Show the active WebMCP bridge status.
Help
Show WebMCP command help.
Tools
List the supported WebMCP tools.
Roots
Describe the configured headless WebMCP workspace roots.
ConnectHelp
Show usage for the connect or pair command.
Connect
Pair a browser origin.
Fields
Unpair
Stop the bridge or revoke its in-memory pairings.
Trait Implementations§
Source§impl Clone for WebmcpSlashCommand
impl Clone for WebmcpSlashCommand
Source§impl Debug for WebmcpSlashCommand
impl Debug for WebmcpSlashCommand
impl Eq for WebmcpSlashCommand
Source§impl PartialEq for WebmcpSlashCommand
impl PartialEq for WebmcpSlashCommand
impl StructuralPartialEq for WebmcpSlashCommand
Auto Trait Implementations§
impl Forget for WebmcpSlashCommand
impl Freeze for WebmcpSlashCommand
impl RefUnwindSafe for WebmcpSlashCommand
impl Send for WebmcpSlashCommand
impl Sync for WebmcpSlashCommand
impl Unpin for WebmcpSlashCommand
impl UnsafeUnpin for WebmcpSlashCommand
impl UnwindSafe for WebmcpSlashCommand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.