Struct sozu_command_lib::proxy::TcpListener [−][src]
pub struct TcpListener {
pub front: SocketAddr,
pub public_address: Option<IpAddr>,
pub expect_proxy: bool,
}Fields
front: SocketAddr
public_address: Option<IpAddr>
expect_proxy: bool
Trait Implementations
impl Debug for TcpListener[src]
impl Debug for TcpListenerfn 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 TcpListener[src]
impl Clone for TcpListenerfn clone(&self) -> TcpListener[src]
fn clone(&self) -> TcpListenerReturns 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 TcpListener[src]
impl PartialEq for TcpListenerfn eq(&self, other: &TcpListener) -> bool[src]
fn eq(&self, other: &TcpListener) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &TcpListener) -> bool[src]
fn ne(&self, other: &TcpListener) -> boolThis method tests for !=.
impl Eq for TcpListener[src]
impl Eq for TcpListenerimpl Hash for TcpListener[src]
impl Hash for TcpListenerAuto Trait Implementations
impl Send for TcpListener
impl Send for TcpListenerimpl Sync for TcpListener
impl Sync for TcpListener