pub struct PendingTunnel {
pub target: TargetAddr,
pub client: BoxStream,
pub protocol: TunnelProtocol,
pub reply_context: ReplyContext,
pub identity: ClientIdentity,
}Expand description
A pending tunnel connection (HTTP CONNECT, SOCKS4, SOCKS5). Success reply has NOT been sent yet.
Fields§
§target: TargetAddr§client: BoxStream§protocol: TunnelProtocol§reply_context: ReplyContext§identity: ClientIdentityAuto Trait Implementations§
impl !RefUnwindSafe for PendingTunnel
impl !Sync for PendingTunnel
impl !UnwindSafe for PendingTunnel
impl Freeze for PendingTunnel
impl Send for PendingTunnel
impl Unpin for PendingTunnel
impl UnsafeUnpin for PendingTunnel
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