pub struct ScreenshotTool { /* private fields */ }Implementations§
Source§impl ScreenshotTool
impl ScreenshotTool
pub fn new(config: BrowserConfig) -> Self
Trait Implementations§
Source§impl Tool for ScreenshotTool
impl Tool for ScreenshotTool
fn name(&self) -> &'static str
fn description(&self) -> &'static str
fn parameters(&self) -> Option<Value>
fn call<'life0, 'async_trait>(
&'life0 self,
_args: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, SynapticError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn as_tool_definition(&self) -> ToolDefinition
Auto Trait Implementations§
impl Freeze for ScreenshotTool
impl RefUnwindSafe for ScreenshotTool
impl Send for ScreenshotTool
impl Sync for ScreenshotTool
impl Unpin for ScreenshotTool
impl UnsafeUnpin for ScreenshotTool
impl UnwindSafe for ScreenshotTool
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