pub struct PluginCallbackClient<T> { /* private fields */ }Implementations§
Source§impl<T> PluginCallbackClient<T>
impl<T> PluginCallbackClient<T>
pub fn new(transport: T) -> Self
pub async fn register( &self, reg: PluginRegistration, ) -> <T::Error as TransportResult<()>>::Output
pub async fn server_request( &self, req: Request, ) -> <T::Error as TransportResult<Response>>::Output
pub async fn output_delta( &self, tool_call_id: String, text: String, ) -> <T::Error as TransportResult<()>>::Output
Auto Trait Implementations§
impl<T> Freeze for PluginCallbackClient<T>where
T: Freeze,
impl<T> RefUnwindSafe for PluginCallbackClient<T>where
T: RefUnwindSafe,
impl<T> Send for PluginCallbackClient<T>where
T: Send,
impl<T> Sync for PluginCallbackClient<T>where
T: Sync,
impl<T> Unpin for PluginCallbackClient<T>where
T: Unpin,
impl<T> UnsafeUnpin for PluginCallbackClient<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for PluginCallbackClient<T>where
T: UnwindSafe,
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