Struct sozu_command_lib::config::FileAppConfig [−][src]
pub struct FileAppConfig { pub frontends: Vec<FileAppFrontendConfig>, pub backends: Vec<BackendConfig>, pub protocol: FileAppProtocolConfig, pub sticky_session: Option<bool>, pub https_redirect: Option<bool>, pub send_proxy: Option<bool>, pub load_balancing_policy: LoadBalancingAlgorithms, }
Fields
frontends: Vec<FileAppFrontendConfig>
backends: Vec<BackendConfig>
protocol: FileAppProtocolConfig
sticky_session: Option<bool>
https_redirect: Option<bool>
send_proxy: Option<bool>
load_balancing_policy: LoadBalancingAlgorithms
Methods
impl FileAppConfig
[src]
impl FileAppConfig
pub fn to_app_config(
self,
app_id: &str,
expect_proxy: &HashSet<SocketAddr>
) -> Result<AppConfig, String>
[src]
pub fn to_app_config(
self,
app_id: &str,
expect_proxy: &HashSet<SocketAddr>
) -> Result<AppConfig, String>
Trait Implementations
impl Debug for FileAppConfig
[src]
impl Debug for FileAppConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for FileAppConfig
[src]
impl Clone for FileAppConfig
fn clone(&self) -> FileAppConfig
[src]
fn clone(&self) -> FileAppConfig
Returns 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 FileAppConfig
[src]
impl PartialEq for FileAppConfig
fn eq(&self, other: &FileAppConfig) -> bool
[src]
fn eq(&self, other: &FileAppConfig) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &FileAppConfig) -> bool
[src]
fn ne(&self, other: &FileAppConfig) -> bool
This method tests for !=
.
impl Eq for FileAppConfig
[src]
impl Eq for FileAppConfig
impl Hash for FileAppConfig
[src]
impl Hash for FileAppConfig
Auto Trait Implementations
impl Send for FileAppConfig
impl Send for FileAppConfig
impl Sync for FileAppConfig
impl Sync for FileAppConfig