pub struct AppCallHandle {
pub request_id: RequestId,
pub events: EventStream<AppNotification>,
pub response: Receiver<Result<Value, McpError>>,
}Expand description
Handle returned for each app-server call, bundling response and notifications.
Fields§
§request_id: RequestId§events: EventStream<AppNotification>§response: Receiver<Result<Value, McpError>>Auto Trait Implementations§
impl Freeze for AppCallHandle
impl !RefUnwindSafe for AppCallHandle
impl Send for AppCallHandle
impl Sync for AppCallHandle
impl Unpin for AppCallHandle
impl UnsafeUnpin for AppCallHandle
impl !UnwindSafe for AppCallHandle
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