pub enum McpConnectionStatus {
Disconnected,
Connecting,
Connected,
Error,
Unknown,
}Expand description
MCP connection status.
Variants§
Disconnected
Not connected.
Connecting
Connecting.
Connected
Connected.
Error
Connection failed.
Unknown
Unknown status (forward compatibility).
Trait Implementations§
Source§impl Clone for McpConnectionStatus
impl Clone for McpConnectionStatus
Source§fn clone(&self) -> McpConnectionStatus
fn clone(&self) -> McpConnectionStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for McpConnectionStatus
impl Debug for McpConnectionStatus
Source§impl<'de> Deserialize<'de> for McpConnectionStatus
impl<'de> Deserialize<'de> for McpConnectionStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for McpConnectionStatus
impl RefUnwindSafe for McpConnectionStatus
impl Send for McpConnectionStatus
impl Sync for McpConnectionStatus
impl Unpin for McpConnectionStatus
impl UnwindSafe for McpConnectionStatus
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