pub struct TcpTunnelDispatcher { /* private fields */ }Implementations§
Source§impl TcpTunnelDispatcher
impl TcpTunnelDispatcher
Sourcepub fn new(config: TcpTunnelConfig) -> Result<TcpTunnelDispatcher>
pub fn new(config: TcpTunnelConfig) -> Result<TcpTunnelDispatcher>
Construct a TCP tunnel with the specified configuration
Auto Trait Implementations§
impl !Freeze for TcpTunnelDispatcher
impl !RefUnwindSafe for TcpTunnelDispatcher
impl Send for TcpTunnelDispatcher
impl Sync for TcpTunnelDispatcher
impl Unpin for TcpTunnelDispatcher
impl !UnwindSafe for TcpTunnelDispatcher
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