Struct mqtt_channel_client::ClientConfigBuilder
source · pub struct ClientConfigBuilder { /* private fields */ }
Expand description
Builder for ClientConfig
.
Implementations§
source§impl ClientConfigBuilder
impl ClientConfigBuilder
sourcepub fn channel_size(&mut self, value: usize) -> &mut Self
pub fn channel_size(&mut self, value: usize) -> &mut Self
Size of the Tokio channel.
sourcepub fn build(&self) -> Result<ClientConfig, ClientConfigBuilderError>
pub fn build(&self) -> Result<ClientConfig, ClientConfigBuilderError>
Trait Implementations§
source§impl Clone for ClientConfigBuilder
impl Clone for ClientConfigBuilder
source§fn clone(&self) -> ClientConfigBuilder
fn clone(&self) -> ClientConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ClientConfigBuilder
impl Send for ClientConfigBuilder
impl Sync for ClientConfigBuilder
impl Unpin for ClientConfigBuilder
impl UnwindSafe for ClientConfigBuilder
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