pub struct ClientConfig { /* private fields */ }
Expand description
Builder to construct a Client
.
Implementations§
Source§impl ClientConfig
impl ClientConfig
Sourcepub fn builder() -> ClientConfigBuilder<((HashSet<String>,), (), (), ())>
pub fn builder() -> ClientConfigBuilder<((HashSet<String>,), (), (), ())>
Create a builder for building ClientConfig
.
On the builder, call .endpoint(...)
, .app_name(...)
, .buffer_capacity(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of ClientConfig
.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ClientConfig
impl RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl UnwindSafe for ClientConfig
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