Struct sozu_command_lib::config::FileConfig [−][src]
pub struct FileConfig {
pub command_socket: Option<String>,
pub command_buffer_size: Option<usize>,
pub max_command_buffer_size: Option<usize>,
pub max_connections: Option<usize>,
pub max_buffers: Option<usize>,
pub buffer_size: Option<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 listeners: Option<Vec<Listener>>,
pub applications: Option<HashMap<String, FileAppConfig>>,
pub handle_process_affinity: Option<bool>,
pub ctl_command_timeout: Option<u64>,
pub pid_file_path: Option<String>,
pub tls_provider: Option<TlsProvider>,
pub activate_listeners: Option<bool>,
pub front_timeout: Option<u32>,
pub zombie_check_interval: Option<u32>,
pub accept_queue_timeout: Option<u32>,
}Fields
command_socket: Option<String>
command_buffer_size: Option<usize>
max_command_buffer_size: Option<usize>
max_connections: Option<usize>
max_buffers: Option<usize>
buffer_size: Option<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>
listeners: Option<Vec<Listener>>
applications: Option<HashMap<String, FileAppConfig>>
handle_process_affinity: Option<bool>
ctl_command_timeout: Option<u64>
pid_file_path: Option<String>
tls_provider: Option<TlsProvider>
activate_listeners: Option<bool>
front_timeout: Option<u32>
zombie_check_interval: Option<u32>
accept_queue_timeout: Option<u32>
Methods
impl FileConfig[src]
impl FileConfigpub fn load_from_path(path: &str) -> Result<FileConfig>[src]
pub fn load_from_path(path: &str) -> Result<FileConfig>pub fn into(self, config_path: &str) -> Config[src]
pub fn into(self, config_path: &str) -> ConfigTrait Implementations
impl Debug for FileConfig[src]
impl Debug for FileConfigfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for FileConfig[src]
impl Clone for FileConfigfn clone(&self) -> FileConfig[src]
fn clone(&self) -> FileConfigReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for FileConfig[src]
impl PartialEq for FileConfigfn eq(&self, other: &FileConfig) -> bool[src]
fn eq(&self, other: &FileConfig) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &FileConfig) -> bool[src]
fn ne(&self, other: &FileConfig) -> boolThis method tests for !=.
impl Eq for FileConfig[src]
impl Eq for FileConfigAuto Trait Implementations
impl Send for FileConfig
impl Send for FileConfigimpl Sync for FileConfig
impl Sync for FileConfig