pub struct GeminiConnectionStrategy { /* private fields */ }Expand description
Factory that opens a GeminiConnection.
Implementations§
Source§impl GeminiConnectionStrategy
impl GeminiConnectionStrategy
Sourcepub fn new(config: GeminiBackendConfig) -> Self
pub fn new(config: GeminiBackendConfig) -> Self
Create a strategy from a backend config.
Sourcepub fn with_runners(self, runners: GeminiRunners) -> Self
pub fn with_runners(self, runners: GeminiRunners) -> Self
Inject the runners the Agent owns. The Gemini backend dispatches custom + built-in tool calls inline; without runners those calls fall back to a static error.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for GeminiConnectionStrategy
impl !UnwindSafe for GeminiConnectionStrategy
impl Freeze for GeminiConnectionStrategy
impl Send for GeminiConnectionStrategy
impl Sync for GeminiConnectionStrategy
impl Unpin for GeminiConnectionStrategy
impl UnsafeUnpin for GeminiConnectionStrategy
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