Struct sozu_command_lib::proxy::HttpListener [−][src]
pub struct HttpListener {
pub front: SocketAddr,
pub public_address: Option<IpAddr>,
pub answer_404: String,
pub answer_503: String,
pub expect_proxy: bool,
pub sticky_name: String,
}Fields
front: SocketAddr
public_address: Option<IpAddr>
answer_404: String
answer_503: String
expect_proxy: bool
sticky_name: String
Trait Implementations
impl Debug for HttpListener[src]
impl Debug for HttpListenerfn 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 HttpListener[src]
impl Clone for HttpListenerfn clone(&self) -> HttpListener[src]
fn clone(&self) -> HttpListenerReturns 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 HttpListener[src]
impl PartialEq for HttpListenerfn eq(&self, other: &HttpListener) -> bool[src]
fn eq(&self, other: &HttpListener) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &HttpListener) -> bool[src]
fn ne(&self, other: &HttpListener) -> boolThis method tests for !=.
impl Eq for HttpListener[src]
impl Eq for HttpListenerimpl Hash for HttpListener[src]
impl Hash for HttpListenerfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Default for HttpListener[src]
impl Default for HttpListenerfn default() -> HttpListener[src]
fn default() -> HttpListenerReturns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for HttpListener
impl Send for HttpListenerimpl Sync for HttpListener
impl Sync for HttpListener