pub struct TcpProxy { /* private fields */ }Expand description
Layer-4 (raw TCP) reverse proxy with round-robin load balancing.
Call TcpProxy::bind to start accepting connections. Each connection is
handled in its own thread pair (one thread per direction), so bind blocks
the calling thread indefinitely.
Implementations§
Auto Trait Implementations§
impl Freeze for TcpProxy
impl RefUnwindSafe for TcpProxy
impl Send for TcpProxy
impl Sync for TcpProxy
impl Unpin for TcpProxy
impl UnsafeUnpin for TcpProxy
impl UnwindSafe for TcpProxy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more