pub struct OllamaHost { /* private fields */ }Implementations§
Trait Implementations§
Source§impl ModelHost for OllamaHost
impl ModelHost for OllamaHost
fn capabilities(&self) -> HostCapabilities
fn first_token<'life0, 'async_trait>(
&'life0 self,
req: FirstTokenRequest,
) -> Pin<Box<dyn Future<Output = Result<FirstTokenDistribution, HostError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for OllamaHost
impl !RefUnwindSafe for OllamaHost
impl !UnwindSafe for OllamaHost
impl Send for OllamaHost
impl Sync for OllamaHost
impl Unpin for OllamaHost
impl UnsafeUnpin for OllamaHost
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