pub struct AppRuntimeHandle {
pub name: String,
pub metadata: Value,
pub config: StdioServerConfig,
}Expand description
Prepared app runtime with merged stdio config and metadata.
Fields§
§name: String§metadata: Value§config: StdioServerConfigImplementations§
Source§impl AppRuntimeHandle
impl AppRuntimeHandle
Sourcepub async fn start(
self,
client: ClientInfo,
) -> Result<ManagedAppRuntime, McpError>
pub async fn start( self, client: ClientInfo, ) -> Result<ManagedAppRuntime, McpError>
Launch the app-server using the prepared stdio config.
Trait Implementations§
Source§impl Clone for AppRuntimeHandle
impl Clone for AppRuntimeHandle
Source§fn clone(&self) -> AppRuntimeHandle
fn clone(&self) -> AppRuntimeHandle
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 moreAuto Trait Implementations§
impl Freeze for AppRuntimeHandle
impl RefUnwindSafe for AppRuntimeHandle
impl Send for AppRuntimeHandle
impl Sync for AppRuntimeHandle
impl Unpin for AppRuntimeHandle
impl UnsafeUnpin for AppRuntimeHandle
impl UnwindSafe for AppRuntimeHandle
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