pub enum McpServerConnectionStatus {
NotStarted,
Starting,
Connected,
AuthenticationRequired,
Failed,
Cancelled,
Disabled,
}Expand description
Current thread-runtime MCP server connection state.
Variants§
Trait Implementations§
Source§impl Clone for McpServerConnectionStatus
impl Clone for McpServerConnectionStatus
Source§fn clone(&self) -> McpServerConnectionStatus
fn clone(&self) -> McpServerConnectionStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for McpServerConnectionStatus
Source§impl Debug for McpServerConnectionStatus
impl Debug for McpServerConnectionStatus
Source§impl<'de> Deserialize<'de> for McpServerConnectionStatus
impl<'de> Deserialize<'de> for McpServerConnectionStatus
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
impl Eq for McpServerConnectionStatus
impl StructuralPartialEq for McpServerConnectionStatus
Auto Trait Implementations§
impl Freeze for McpServerConnectionStatus
impl RefUnwindSafe for McpServerConnectionStatus
impl Send for McpServerConnectionStatus
impl Sync for McpServerConnectionStatus
impl Unpin for McpServerConnectionStatus
impl UnsafeUnpin for McpServerConnectionStatus
impl UnwindSafe for McpServerConnectionStatus
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