Struct electrsd::ElectrsD[][src]

pub struct ElectrsD {
    pub client: RawClient<ElectrumPlaintextStream>,
    pub electrum_url: String,
    pub esplora_url: Option<String>,
    // some fields omitted
}
Expand description

Struct representing the bitcoind process with related information

Fields

client: RawClient<ElectrumPlaintextStream>

Electrum client connected to the electrs process

electrum_url: String

Url to connect to the electrum protocol (tcp)

esplora_url: Option<String>

Url to connect to esplora protocol (http)

Implementations

Create a new electrs process connected with the given bitcoind and default args.

Create a new electrs process using given Conf connected with the given bitcoind

Trait Implementations

Executes the destructor for this type. 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

Performs the conversion.

Performs the conversion.

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.