pub struct MockLlm { /* private fields */ }Available on crate feature
models only.Implementations§
Trait Implementations§
Source§impl Llm for MockLlm
impl Llm for MockLlm
fn name(&self) -> &str
fn generate_content<'life0, 'async_trait>(
&'life0 self,
_req: LlmRequest,
_stream: bool,
) -> Pin<Box<dyn Future<Output = Result<Pin<Box<dyn Stream<Item = Result<LlmResponse, AdkError>> + Send>>, AdkError>> + Send + 'async_trait>>where
'life0: 'async_trait,
MockLlm: 'async_trait,
Auto Trait Implementations§
impl Freeze for MockLlm
impl RefUnwindSafe for MockLlm
impl Send for MockLlm
impl Sync for MockLlm
impl Unpin for MockLlm
impl UnsafeUnpin for MockLlm
impl UnwindSafe for MockLlm
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