pub struct Config {
pub bind_addr: Vec<SocketAddr>,
pub stream_config: StreamConfig,
}Expand description
Configuration parameters for the reactor.
Fields§
§bind_addr: Vec<SocketAddr>The list of socket addresses where the reactor listens for inbound connections.
stream_config: StreamConfigConfiguration parameters for individual peer connections. This allows the fine tuning of internal buffer sizes etc. Most consumers won’t have to modify this.