pub struct ClientBuilder { /* private fields */ }Expand description
Builder for LlmClient
Implementations§
Source§impl ClientBuilder
impl ClientBuilder
Sourcepub fn pool_idle_timeout(self, timeout: Duration) -> Self
pub fn pool_idle_timeout(self, timeout: Duration) -> Self
Set pool idle timeout
Sourcepub fn pool_max_idle_per_host(self, max: usize) -> Self
pub fn pool_max_idle_per_host(self, max: usize) -> Self
Set max idle connections per host
Sourcepub fn credentials(self, credentials: Box<dyn Credentials>) -> Self
pub fn credentials(self, credentials: Box<dyn Credentials>) -> Self
Set credentials
Trait Implementations§
Source§impl Debug for ClientBuilder
impl Debug for ClientBuilder
Auto Trait Implementations§
impl Freeze for ClientBuilder
impl !RefUnwindSafe for ClientBuilder
impl Send for ClientBuilder
impl Sync for ClientBuilder
impl Unpin for ClientBuilder
impl UnsafeUnpin for ClientBuilder
impl !UnwindSafe for ClientBuilder
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