pub struct ReplicatorConfig {
pub listen_addr: String,
pub heartbeat_interval_ms: u64,
pub max_buffer_size: usize,
pub node_id: String,
pub tls_config: Option<ReplicationTlsConfig>,
}Expand description
Configuration for the state replicator
Fields§
§listen_addr: StringAddress to listen for passive node connections
heartbeat_interval_ms: u64Heartbeat interval in milliseconds
max_buffer_size: usizeMaximum number of records to buffer for slow passives
node_id: StringNode identifier
tls_config: Option<ReplicationTlsConfig>Optional TLS configuration for mTLS
Trait Implementations§
Source§impl Clone for ReplicatorConfig
impl Clone for ReplicatorConfig
Source§fn clone(&self) -> ReplicatorConfig
fn clone(&self) -> ReplicatorConfig
Returns a duplicate 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 Debug for ReplicatorConfig
impl Debug for ReplicatorConfig
Auto Trait Implementations§
impl Freeze for ReplicatorConfig
impl RefUnwindSafe for ReplicatorConfig
impl Send for ReplicatorConfig
impl Sync for ReplicatorConfig
impl Unpin for ReplicatorConfig
impl UnwindSafe for ReplicatorConfig
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