Struct sozu_command_lib::config::TcpAppConfig
source · 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: LoadBalancingAlgorithmsImplementations§
source§impl TcpAppConfig
impl TcpAppConfig
pub fn generate_orders(&self) -> Vec<ProxyRequestData> ⓘ
Trait Implementations§
source§impl Clone for TcpAppConfig
impl Clone for TcpAppConfig
source§fn clone(&self) -> TcpAppConfig
fn clone(&self) -> TcpAppConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TcpAppConfig
impl Debug for TcpAppConfig
source§impl<'de> Deserialize<'de> for TcpAppConfig
impl<'de> Deserialize<'de> for TcpAppConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more