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 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 zombie_check_interval: u32, pub accept_queue_timeout: u32,
}

Fields

config_path: Stringcommand_socket: Stringcommand_buffer_size: usizemax_command_buffer_size: usizemax_connections: 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: u32zombie_check_interval: u32accept_queue_timeout: u32

Implementations

impl Config[src]

Trait Implementations

impl Clone for Config[src]

impl Debug for Config[src]

impl<'de> Deserialize<'de> for Config[src]

impl Eq for Config[src]

impl PartialEq<Config> for Config[src]

impl Serialize for Config[src]

impl StructuralEq for Config[src]

impl StructuralPartialEq for Config[src]

Auto Trait Implementations

impl RefUnwindSafe for Config

impl Send for Config

impl Sync for Config

impl Unpin for Config

impl UnwindSafe for Config

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.