pub struct ClientBuilder { /* private fields */ }Implementations§
Source§impl ClientBuilder
impl ClientBuilder
pub fn token(self, token: Option<String>) -> Self
pub fn control_token(self, token: Option<String>) -> Self
pub fn worker_token(self, token: Option<String>) -> Self
pub fn namespace(self, namespace: impl Into<String>) -> Self
pub fn timeout(self, timeout: Duration) -> Self
pub fn build(self) -> Result<Client>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClientBuilder
impl RefUnwindSafe for ClientBuilder
impl Send for ClientBuilder
impl Sync for ClientBuilder
impl Unpin 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