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 channel_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 worker_count: Option<u16>, pub metrics: Option<MetricsConfig>, pub http: Option<ProxyConfig>, pub https: Option<ProxyConfig>, pub applications: HashMap<String, AppConfig>, pub handle_process_affinity: Option<bool>, }
Fields
command_socket: String
command_buffer_size: Option<usize>
max_command_buffer_size: Option<usize>
channel_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>
worker_count: Option<u16>
metrics: Option<MetricsConfig>
http: Option<ProxyConfig>
https: Option<ProxyConfig>
applications: HashMap<String, AppConfig>
handle_process_affinity: Option<bool>
Methods
impl FileConfig
[src]
fn load_from_path(path: &str) -> Result<FileConfig>
[src]
fn into(self, config_path: &str) -> Config
[src]
Trait Implementations
impl Debug for FileConfig
[src]
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 !=
.