pub struct ClientBuilder { /* private fields */ }
Expand description
A builder for Client
.
Implementations§
Source§impl ClientBuilder
impl ClientBuilder
Sourcepub fn retry_timeout(&mut self, timeout: Duration) -> &mut Self
pub fn retry_timeout(&mut self, timeout: Duration) -> &mut Self
Sets the timeout for a failed connection before attempting to reconnect.
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