pub struct RetryingLLM<C> { /* private fields */ }Trait Implementations§
Source§impl<C: LLMClient> LLMClient for RetryingLLM<C>
impl<C: LLMClient> LLMClient for RetryingLLM<C>
async fn completion(&self, completion: Completion) -> Result<CompletionResponse>
fn into_arc(self) -> Arc<dyn LLMClientDyn> ⓘwhere
Self: Sized + 'static,
Auto Trait Implementations§
impl<C> Freeze for RetryingLLM<C>where
C: Freeze,
impl<C> RefUnwindSafe for RetryingLLM<C>where
C: RefUnwindSafe,
impl<C> Send for RetryingLLM<C>where
C: Send,
impl<C> Sync for RetryingLLM<C>where
C: Sync,
impl<C> Unpin for RetryingLLM<C>where
C: Unpin,
impl<C> UnsafeUnpin for RetryingLLM<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for RetryingLLM<C>where
C: 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