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: LoadBalancingAlgorithms,
pub load_metric: Option<LoadMetric>,
}
Fields
app_id: String
frontends: Vec<TcpFrontendConfig>
backends: Vec<BackendConfig>
proxy_protocol: Option<ProxyProtocolConfig>
load_balancing: LoadBalancingAlgorithms
load_metric: Option<LoadMetric>
Implementations
sourceimpl TcpAppConfig
impl TcpAppConfig
pub fn generate_orders(&self) -> Vec<ProxyRequestData>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
Trait Implementations
sourceimpl Clone for TcpAppConfig
impl Clone for TcpAppConfig
sourcefn clone(&self) -> TcpAppConfig
fn clone(&self) -> TcpAppConfig
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TcpAppConfig
impl Debug for TcpAppConfig
sourceimpl<'de> Deserialize<'de> for TcpAppConfig
impl<'de> Deserialize<'de> for TcpAppConfig
sourcefn 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
sourceimpl Hash for TcpAppConfig
impl Hash for TcpAppConfig
sourceimpl PartialEq<TcpAppConfig> for TcpAppConfig
impl PartialEq<TcpAppConfig> for TcpAppConfig
sourcefn eq(&self, other: &TcpAppConfig) -> bool
fn eq(&self, other: &TcpAppConfig) -> bool
sourceimpl Serialize for TcpAppConfig
impl Serialize for TcpAppConfig
impl Eq for TcpAppConfig
impl StructuralEq for TcpAppConfig
impl StructuralPartialEq for TcpAppConfig
Auto Trait Implementations
impl RefUnwindSafe for TcpAppConfig
impl Send for TcpAppConfig
impl Sync for TcpAppConfig
impl Unpin for TcpAppConfig
impl UnwindSafe for TcpAppConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more