[][src]Struct sozu_command_lib::config::FileConfig

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 automatic_state_save: Option<bool>,
    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>automatic_state_save: Option<bool>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>

Implementations

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 Clone for FileConfig[src]

impl Debug for FileConfig[src]

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

impl Eq for FileConfig[src]

impl PartialEq<FileConfig> for FileConfig[src]

impl Serialize for FileConfig[src]

impl StructuralEq for FileConfig[src]

impl StructuralPartialEq for FileConfig[src]

Auto Trait Implementations

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> Sealed<T> for T where
    T: ?Sized

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.