pub enum McpPlanTransportChoice {
Package(McpPlanTransportChoicePackage),
Remote(McpPlanTransportChoiceRemote),
}Expand description
One eligible way to run the server, represented as a tagged package or remote variant so package identity and endpoint states cannot contradict the install method.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
Package(McpPlanTransportChoicePackage)
Remote(McpPlanTransportChoiceRemote)
Trait Implementations§
Source§impl Clone for McpPlanTransportChoice
impl Clone for McpPlanTransportChoice
Source§impl Debug for McpPlanTransportChoice
impl Debug for McpPlanTransportChoice
Source§impl<'de> Deserialize<'de> for McpPlanTransportChoice
impl<'de> Deserialize<'de> for McpPlanTransportChoice
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 McpPlanTransportChoice
impl RefUnwindSafe for McpPlanTransportChoice
impl Send for McpPlanTransportChoice
impl Sync for McpPlanTransportChoice
impl Unpin for McpPlanTransportChoice
impl UnsafeUnpin for McpPlanTransportChoice
impl UnwindSafe for McpPlanTransportChoice
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