Struct sozu_command_lib::config::TcpAppConfig [−][src]
pub struct TcpAppConfig {
pub app_id: String,
pub frontends: Vec<TcpFrontendConfig>,
pub backends: Vec<BackendConfig>,
pub proxy_protocol: Option<ProxyProtocolConfig>,
pub load_balancing_policy: LoadBalancingAlgorithms,
}Fields
app_id: String
frontends: Vec<TcpFrontendConfig>
backends: Vec<BackendConfig>
proxy_protocol: Option<ProxyProtocolConfig>
load_balancing_policy: LoadBalancingAlgorithms
Methods
impl TcpAppConfig[src]
impl TcpAppConfigpub fn generate_orders(&self) -> Vec<ProxyRequestData>[src]
pub fn generate_orders(&self) -> Vec<ProxyRequestData>Trait Implementations
impl Debug for TcpAppConfig[src]
impl Debug for TcpAppConfigfn 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 TcpAppConfig[src]
impl Clone for TcpAppConfigfn clone(&self) -> TcpAppConfig[src]
fn clone(&self) -> TcpAppConfigReturns 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 TcpAppConfig[src]
impl PartialEq for TcpAppConfigfn eq(&self, other: &TcpAppConfig) -> bool[src]
fn eq(&self, other: &TcpAppConfig) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &TcpAppConfig) -> bool[src]
fn ne(&self, other: &TcpAppConfig) -> boolThis method tests for !=.
impl Eq for TcpAppConfig[src]
impl Eq for TcpAppConfigimpl Hash for TcpAppConfig[src]
impl Hash for TcpAppConfigAuto Trait Implementations
impl Send for TcpAppConfig
impl Send for TcpAppConfigimpl Sync for TcpAppConfig
impl Sync for TcpAppConfig