Struct sozu_command_lib::proxy::TcpListener
source · [−]pub struct TcpListener {
pub front: SocketAddr,
pub public_address: Option<SocketAddr>,
pub expect_proxy: bool,
pub front_timeout: u32,
pub back_timeout: u32,
pub connect_timeout: u32,
}
Fields
front: SocketAddr
public_address: Option<SocketAddr>
expect_proxy: bool
front_timeout: u32
back_timeout: u32
connect_timeout: u32
Trait Implementations
sourceimpl Clone for TcpListener
impl Clone for TcpListener
sourcefn clone(&self) -> TcpListener
fn clone(&self) -> TcpListener
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 TcpListener
impl Debug for TcpListener
sourceimpl<'de> Deserialize<'de> for TcpListener
impl<'de> Deserialize<'de> for TcpListener
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 TcpListener
impl Hash for TcpListener
sourceimpl PartialEq<TcpListener> for TcpListener
impl PartialEq<TcpListener> for TcpListener
sourcefn eq(&self, other: &TcpListener) -> bool
fn eq(&self, other: &TcpListener) -> bool
sourceimpl Serialize for TcpListener
impl Serialize for TcpListener
impl Eq for TcpListener
impl StructuralEq for TcpListener
impl StructuralPartialEq for TcpListener
Auto Trait Implementations
impl RefUnwindSafe for TcpListener
impl Send for TcpListener
impl Sync for TcpListener
impl Unpin for TcpListener
impl UnwindSafe for TcpListener
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