pub struct ClientConfigBuilder { /* private fields */ }
Expand description
Builder for ClientConfig
.
Implementations§
source§impl ClientConfigBuilder
impl ClientConfigBuilder
pub fn max_connections_in_pool<VALUE: Into<u32>>( &mut self, value: VALUE ) -> &mut Self
pub fn max_controller_connections<VALUE: Into<u32>>( &mut self, value: VALUE ) -> &mut Self
pub fn connection_type<VALUE: Into<ConnectionType>>( &mut self, value: VALUE ) -> &mut Self
pub fn retry_policy<VALUE: Into<RetryWithBackoff>>( &mut self, value: VALUE ) -> &mut Self
pub fn controller_uri<VALUE: Into<PravegaNodeUri>>( &mut self, value: VALUE ) -> &mut Self
pub fn transaction_timeout_time<VALUE: Into<u64>>( &mut self, value: VALUE ) -> &mut Self
pub fn mock<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn is_tls_enabled<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn disable_cert_verification<VALUE: Into<bool>>( &mut self, value: VALUE ) -> &mut Self
pub fn trustcerts<VALUE: Into<Vec<String>>>( &mut self, value: VALUE ) -> &mut Self
pub fn credentials<VALUE: Into<Credentials>>( &mut self, value: VALUE ) -> &mut Self
pub fn is_auth_enabled<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn reader_wrapper_buffer_size<VALUE: Into<usize>>( &mut self, value: VALUE ) -> &mut Self
pub fn request_timeout<VALUE: Into<Duration>>( &mut self, value: VALUE ) -> &mut Self
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 moresource§impl Default for ClientConfigBuilder
impl Default for ClientConfigBuilder
source§fn default() -> ClientConfigBuilder
fn default() -> ClientConfigBuilder
Returns the “default value” for a type. Read more
Auto 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