Struct sozu_command_lib::messages::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 HttpListener
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 HttpListener
[src]
impl Clone for HttpListener
fn clone(&self) -> HttpListener
[src]
fn clone(&self) -> HttpListener
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 HttpListener
[src]
impl PartialEq for HttpListener
fn eq(&self, other: &HttpListener) -> bool
[src]
fn eq(&self, other: &HttpListener) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for HttpListener
[src]
impl Eq for HttpListener
impl Hash for HttpListener
[src]
impl Hash for HttpListener
fn 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 HttpListener
fn default() -> HttpListener
[src]
fn default() -> HttpListener
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for HttpListener
impl Send for HttpListener
impl Sync for HttpListener
impl Sync for HttpListener