Struct pravega_client_config::ClientConfig
source · pub struct ClientConfig {Show 14 fields
pub max_connections_in_pool: u32,
pub max_controller_connections: u32,
pub connection_type: ConnectionType,
pub retry_policy: RetryWithBackoff,
pub controller_uri: PravegaNodeUri,
pub transaction_timeout_time: u64,
pub mock: bool,
pub is_tls_enabled: bool,
pub disable_cert_verification: bool,
pub trustcerts: Vec<String>,
pub credentials: Credentials,
pub is_auth_enabled: bool,
pub reader_wrapper_buffer_size: usize,
pub request_timeout: Duration,
}
Fields§
§max_connections_in_pool: u32
§max_controller_connections: u32
§connection_type: ConnectionType
§retry_policy: RetryWithBackoff
§controller_uri: PravegaNodeUri
§transaction_timeout_time: u64
§mock: bool
§is_tls_enabled: bool
§disable_cert_verification: bool
§trustcerts: Vec<String>
§credentials: Credentials
§is_auth_enabled: bool
§reader_wrapper_buffer_size: usize
§request_timeout: Duration
Implementations§
source§impl ClientConfig
impl ClientConfig
pub fn max_connections_in_pool(&self) -> u32
pub fn max_controller_connections(&self) -> u32
pub fn connection_type(&self) -> ConnectionType
pub fn retry_policy(&self) -> RetryWithBackoff
pub fn transaction_timeout_time(&self) -> u64
pub fn mock(&self) -> bool
pub fn is_tls_enabled(&self) -> bool
pub fn is_auth_enabled(&self) -> bool
pub fn reader_wrapper_buffer_size(&self) -> usize
pub fn request_timeout(&self) -> Duration
Trait Implementations§
source§impl Clone for ClientConfig
impl Clone for ClientConfig
source§fn clone(&self) -> ClientConfig
fn clone(&self) -> ClientConfig
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 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