Struct sozu_command_lib::config::TcpAppConfig [−][src]
pub struct TcpAppConfig { pub app_id: String, pub ip_address: String, pub port: u16, pub backends: Vec<BackendConfig>, pub proxy_protocol: Option<ProxyProtocolConfig>, pub load_balancing_policy: LoadBalancingAlgorithms, }
Fields
app_id: String
ip_address: String
port: u16
backends: Vec<BackendConfig>
proxy_protocol: Option<ProxyProtocolConfig>
load_balancing_policy: LoadBalancingAlgorithms
Methods
impl TcpAppConfig
[src]
impl TcpAppConfig
pub fn generate_orders(&self) -> Vec<Order>
[src]
pub fn generate_orders(&self) -> Vec<Order>
Trait Implementations
impl Debug for TcpAppConfig
[src]
impl Debug for TcpAppConfig
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 TcpAppConfig
[src]
impl Clone for TcpAppConfig
fn clone(&self) -> TcpAppConfig
[src]
fn clone(&self) -> TcpAppConfig
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 TcpAppConfig
[src]
impl PartialEq for TcpAppConfig
fn eq(&self, other: &TcpAppConfig) -> bool
[src]
fn eq(&self, other: &TcpAppConfig) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for TcpAppConfig
[src]
impl Eq for TcpAppConfig
impl Hash for TcpAppConfig
[src]
impl Hash for TcpAppConfig
Auto Trait Implementations
impl Send for TcpAppConfig
impl Send for TcpAppConfig
impl Sync for TcpAppConfig
impl Sync for TcpAppConfig