pub fn build(cluster_name: String) -> ConfigBuilder {
        ConfigBuilder {
            cluster_name,
            election_timeout_min: None,
            election_timeout_max: None,
            heartbeat_interval: None,
            max_payload_entries: None,
            replication_lag_threshold: None,
            snapshot_policy: None,
            snapshot_max_chunk_size: None,
            catch_up_cancellation_policy: None,
        }
    }
/// Start the builder process for a new `Config` instance. Call `validate` when done.
///
/// The directory where the log snapshots are to be kept for a Raft node is required and must
/// be specified to start the config builder process.
Start the builder process for a new `Config` instance. Call `validate` when done.
The directory where the log snapshots are to be kept for a Raft node is required and must
be specified to start the config builder process.
Start the builder process for a new ` Config ` instance . Call ` validate ` when done . The directory where the log snapshots are to be kept for a Raft node is required and must be specified to start the config builder process .
pub fn build(cluster_name: String) -> ConfigBuilder {
        ConfigBuilder {
            cluster_name,
            election_timeout_min: None,
            election_timeout_max: None,
            heartbeat_interval: None,
            max_payload_entries: None,
            replication_lag_threshold: None,
            snapshot_policy: None,
            snapshot_max_chunk_size: None,
            catch_up_cancellation_policy: None,
        }
    }
pub fn build ( cluster_name : String ) -> ConfigBuilder { ConfigBuilder { cluster_name , election_timeout_min : None , election_timeout_max : None , heartbeat_interval : None , max_payload_entries : None , replication_lag_threshold : None , snapshot_policy : None , snapshot_max_chunk_size : None , catch_up_cancellation_policy : None , } }
Start the builder process for a new `Config` instance.
Start the builder process for a new ` Config ` instance .
cluster_name
String
cluster_name
String