Struct sozu_command_lib::config::FileConfig
[−]
[src]
pub struct FileConfig {
pub command_socket: String,
pub command_buffer_size: Option<usize>,
pub max_command_buffer_size: Option<usize>,
pub max_connections: usize,
pub max_buffers: usize,
pub buffer_size: usize,
pub saved_state: Option<String>,
pub log_level: Option<String>,
pub log_target: Option<String>,
pub log_access_target: Option<String>,
pub worker_count: Option<u16>,
pub worker_automatic_restart: Option<bool>,
pub metrics: Option<MetricsConfig>,
pub http: Option<ProxyConfig>,
pub https: Option<ProxyConfig>,
pub tcp: Option<TcpProxyConfig>,
pub applications: Option<HashMap<String, FileAppConfig>>,
pub handle_process_affinity: Option<bool>,
pub ctl_command_timeout: Option<u64>,
pub pid_file_path: Option<String>,
}Fields
command_socket: String
command_buffer_size: Option<usize>
max_command_buffer_size: Option<usize>
max_connections: usize
max_buffers: usize
buffer_size: usize
saved_state: Option<String>
log_level: Option<String>
log_target: Option<String>
log_access_target: Option<String>
worker_count: Option<u16>
worker_automatic_restart: Option<bool>
metrics: Option<MetricsConfig>
http: Option<ProxyConfig>
https: Option<ProxyConfig>
tcp: Option<TcpProxyConfig>
applications: Option<HashMap<String, FileAppConfig>>
handle_process_affinity: Option<bool>
ctl_command_timeout: Option<u64>
pid_file_path: Option<String>
Methods
impl FileConfig[src]
pub fn load_from_path(path: &str) -> Result<FileConfig>[src]
pub fn into(self, config_path: &str) -> Config[src]
Trait Implementations
impl Debug for FileConfig[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for FileConfig[src]
fn clone(&self) -> FileConfig[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for FileConfig[src]
fn eq(&self, __arg_0: &FileConfig) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &FileConfig) -> bool[src]
This method tests for !=.