pub struct DeepstoreClientBuilder { /* private fields */ }Expand description
Builder for DeepStore client
Implementations§
Source§impl DeepstoreClientBuilder
impl DeepstoreClientBuilder
Sourcepub fn control_plane_url(self, url: impl Into<String>) -> Self
pub fn control_plane_url(self, url: impl Into<String>) -> Self
Set control plane URL (DeepStore server for split metadata)
Sourcepub fn auth_proxy_url(self, url: impl Into<String>) -> Self
pub fn auth_proxy_url(self, url: impl Into<String>) -> Self
Set auth proxy URL (Agent Manager for search/draft requests)
Sourcepub fn query_token_provider<F, Fut>(self, provider: F) -> Self
pub fn query_token_provider<F, Fut>(self, provider: F) -> Self
Set query token provider function
Sourcepub fn build(self) -> Result<DeepstoreClient>
pub fn build(self) -> Result<DeepstoreClient>
Build the client
Trait Implementations§
Source§impl Default for DeepstoreClientBuilder
impl Default for DeepstoreClientBuilder
Source§fn default() -> DeepstoreClientBuilder
fn default() -> DeepstoreClientBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeepstoreClientBuilder
impl !RefUnwindSafe for DeepstoreClientBuilder
impl Send for DeepstoreClientBuilder
impl Sync for DeepstoreClientBuilder
impl Unpin for DeepstoreClientBuilder
impl UnsafeUnpin for DeepstoreClientBuilder
impl !UnwindSafe for DeepstoreClientBuilder
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