Struct sozu_lib::messages::HttpProxyConfiguration
[−]
[src]
pub struct HttpProxyConfiguration {
pub front: SocketAddr,
pub front_timeout: u64,
pub back_timeout: u64,
pub max_connections: usize,
pub buffer_size: usize,
pub public_address: Option<IpAddr>,
pub answer_404: String,
pub answer_503: String,
}Fields
front: SocketAddr
front_timeout: u64
back_timeout: u64
max_connections: usize
buffer_size: usize
public_address: Option<IpAddr>
answer_404: String
answer_503: String
Trait Implementations
impl Debug for HttpProxyConfiguration[src]
impl Clone for HttpProxyConfiguration[src]
fn clone(&self) -> HttpProxyConfiguration
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for HttpProxyConfiguration[src]
fn eq(&self, __arg_0: &HttpProxyConfiguration) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &HttpProxyConfiguration) -> bool
This method tests for !=.
impl Eq for HttpProxyConfiguration[src]
impl Hash for HttpProxyConfiguration[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Default for HttpProxyConfiguration[src]
fn default() -> HttpProxyConfiguration
Returns the "default value" for a type. Read more