[][src]Struct actix_socks::SocksConnector

pub struct SocksConnector<P: ToProxyAddrs>(_);

Trait Implementations

impl<P: Clone + ToProxyAddrs> Clone for SocksConnector<P>[src]

impl<P: Debug + ToProxyAddrs> Debug for SocksConnector<P>[src]

impl<P> Service for SocksConnector<P> where
    P: ToProxyAddrs + Copy + 'static, 
[src]

type Request = Connect<Uri>

Requests handled by the service.

type Response = Connection<Uri, Socks5Stream>

Responses given by the service.

type Error = ConnectError

Errors produced by the service.

type Future = Pin<Box<dyn Future<Output = Result<Self::Response, Self::Error>> + 'static>>

The future response value.

Auto Trait Implementations

impl<P> RefUnwindSafe for SocksConnector<P> where
    P: RefUnwindSafe

impl<P> Send for SocksConnector<P> where
    P: Send

impl<P> Sync for SocksConnector<P> where
    P: Sync

impl<P> Unpin for SocksConnector<P> where
    P: Unpin

impl<P> UnwindSafe for SocksConnector<P> where
    P: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoService<T> for T where
    T: Service
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,