pub enum ServerState {
Connecting,
Ready,
Failed,
Off,
}Expand description
The state of one of a plugin’s MCP servers.
Variants§
Connecting
Starting in the background; its tools come in a later round.
Ready
Failed
Off
Not started: the plugin is off, not trusted, or misses a setting.
Trait Implementations§
Source§impl Clone for ServerState
impl Clone for ServerState
impl Copy for ServerState
Source§impl Debug for ServerState
impl Debug for ServerState
Source§impl<'de> Deserialize<'de> for ServerState
impl<'de> Deserialize<'de> for ServerState
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 ServerState
Source§impl PartialEq for ServerState
impl PartialEq for ServerState
Source§impl Serialize for ServerState
impl Serialize for ServerState
impl StructuralPartialEq for ServerState
Auto Trait Implementations§
impl Forget for ServerState
impl Freeze for ServerState
impl Move for ServerState
impl RefUnwindSafe for ServerState
impl Send for ServerState
impl Sync for ServerState
impl Unpin for ServerState
impl UnsafeUnpin for ServerState
impl UnwindSafe for ServerState
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