pub enum HostType {
ChatGpt,
Claude,
Nanobot,
McpJam,
Generic,
}Available on crate feature
mcp-apps only.Expand description
Known MCP host types.
Variants§
ChatGpt
OpenAI ChatGPT.
Claude
Anthropic Claude.
Nanobot
Nanobot (MCP-UI).
McpJam
MCPJam (MCP-UI).
Generic
Generic MCP host.
Implementations§
Source§impl HostType
impl HostType
Sourcepub fn preferred_mime_type(&self) -> ExtendedUIMimeType
pub fn preferred_mime_type(&self) -> ExtendedUIMimeType
Get the preferred MIME type for this host.
Sourcepub fn supports_mime_type(&self, mime_type: ExtendedUIMimeType) -> bool
pub fn supports_mime_type(&self, mime_type: ExtendedUIMimeType) -> bool
Check if this host supports the given MIME type.
Trait Implementations§
impl Copy for HostType
impl Eq for HostType
impl StructuralPartialEq for HostType
Auto Trait Implementations§
impl Freeze for HostType
impl RefUnwindSafe for HostType
impl Send for HostType
impl Sync for HostType
impl Unpin for HostType
impl UnsafeUnpin for HostType
impl UnwindSafe for HostType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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.