Enum electrum_client::client::ClientType[][src]

Generalized Electrum client that supports multiple backends. This wraps RawClient and provides a more user-friendly constructor that can choose the right backend based on the url prefix.

This is available only with the default features, or if proxy and one ssl implementation are enabled

Variants

Implementations

impl ClientType[src]

pub fn from_config(url: &str, config: &Config) -> Result<Self, Error>[src]

Constructor that supports multiple backends and allows configuration through the [Config]

Auto Trait Implementations

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, 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.