pub struct TcpProxy {
pub forward_thread: JoinHandle<()>,
}
Expand description
TcpProxy runs one thread looping to accept new connections and then two separate threads per connection for writing to each end
Fields§
§forward_thread: JoinHandle<()>
The handle for the outer thread, accepting new connections
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 !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