Expand description

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

TCP(RawClient<ElectrumPlaintextStream>)

SSL(RawClient<ElectrumSslStream>)

Socks5(RawClient<ElectrumProxyStream>)

Implementations

Constructor that supports multiple backends and allows configuration through the Config

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.