pub struct ToolDispatchContext {
pub plugins: Arc<PluginSession>,
pub tools: Arc<dyn ToolProvider>,
pub surface: Arc<ToolSurface>,
pub host: Arc<dyn ToolHookHost>,
pub session_id: String,
pub event_tx: Sender<SessionEvent>,
pub turn_injection_bridge: TurnInjectionBridge,
pub attachment_store: Arc<dyn AttachmentStore>,
pub turn_context: TurnContext,
}Fields§
§plugins: Arc<PluginSession>§tools: Arc<dyn ToolProvider>§surface: Arc<ToolSurface>§host: Arc<dyn ToolHookHost>§session_id: String§event_tx: Sender<SessionEvent>§turn_injection_bridge: TurnInjectionBridge§attachment_store: Arc<dyn AttachmentStore>§turn_context: TurnContextTrait Implementations§
Source§impl Clone for ToolDispatchContext
impl Clone for ToolDispatchContext
Source§fn clone(&self) -> ToolDispatchContext
fn clone(&self) -> ToolDispatchContext
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 moreAuto Trait Implementations§
impl Freeze for ToolDispatchContext
impl !RefUnwindSafe for ToolDispatchContext
impl Send for ToolDispatchContext
impl Sync for ToolDispatchContext
impl Unpin for ToolDispatchContext
impl UnsafeUnpin for ToolDispatchContext
impl !UnwindSafe for ToolDispatchContext
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