[][src]Enum rumqtt::mqttoptions::Proxy

pub enum Proxy {
    None,
    HttpConnect(Stringu16Vec<u8>, i64),
}

Mqtt through http proxy

Variants

None

No tunnel

HttpConnect(Stringu16Vec<u8>, i64)

Tunnel through a proxy using http connect. (Proxy name, Port, priave_key.der to sign jwt, Expiry in seconds)

Trait Implementations

impl Clone for Proxy[src]

impl Debug for Proxy[src]

Auto Trait Implementations

impl Send for Proxy

impl Unpin for Proxy

impl Sync for Proxy

impl UnwindSafe for Proxy

impl RefUnwindSafe for Proxy

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T