Struct sozu_command_lib::config::Config[][src]

pub struct Config {
Show fields pub config_path: String, pub command_socket: String, pub command_buffer_size: usize, pub max_command_buffer_size: usize, pub max_connections: usize, pub min_buffers: usize, pub max_buffers: usize, pub buffer_size: usize, pub saved_state: Option<String>, pub automatic_state_save: bool, pub log_level: String, pub log_target: String, pub log_access_target: Option<String>, pub worker_count: u16, pub worker_automatic_restart: bool, pub metrics: Option<MetricsConfig>, pub http_listeners: Vec<HttpListener>, pub https_listeners: Vec<HttpsListener>, pub tcp_listeners: Vec<TcpListener>, pub applications: HashMap<String, AppConfig>, pub handle_process_affinity: bool, pub ctl_command_timeout: u64, pub pid_file_path: Option<String>, pub tls_provider: TlsProvider, pub activate_listeners: bool, pub front_timeout: u32, pub back_timeout: u32, pub connect_timeout: u32, pub zombie_check_interval: u32, pub accept_queue_timeout: u32,
}

Fields

config_path: Stringcommand_socket: Stringcommand_buffer_size: usizemax_command_buffer_size: usizemax_connections: usizemin_buffers: usizemax_buffers: usizebuffer_size: usizesaved_state: Option<String>automatic_state_save: boollog_level: Stringlog_target: Stringlog_access_target: Option<String>worker_count: u16worker_automatic_restart: boolmetrics: Option<MetricsConfig>http_listeners: Vec<HttpListener>https_listeners: Vec<HttpsListener>tcp_listeners: Vec<TcpListener>applications: HashMap<String, AppConfig>handle_process_affinity: boolctl_command_timeout: u64pid_file_path: Option<String>tls_provider: TlsProvideractivate_listeners: boolfront_timeout: u32back_timeout: u32connect_timeout: u32zombie_check_interval: u32accept_queue_timeout: u32

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.