pub struct Socks4Listener(_);
Expand description

A SOCKS4 BIND client.

Implementations

Initiates a BIND request to the specified proxy.

The proxy will filter incoming connections based on the value of target.

The address of the proxy-side TCP listener.

This should be forwarded to the remote process, which should open a connection to it.

Waits for the remote process to connect to the proxy server.

The value of proxy_addr should be forwarded to the remote process before this method is called.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.