pub struct Handle<W>where
    W: Waker,
{ /* private fields */ }
Expand description

An instance of handle::Handle for Client.

Implementations

Wait for node to start listening for incoming connections.

Set the timeout for operations that wait on the network.

Get connected peers.

Get block by height.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Get the tip of the chain.
Query the block tree using the given function. To return results from the query function, a channel may be used. Read more
Find a branch from the active chain to the given (stale) block. Read more
Get a full block from the network.
Get compact filters from the network.
Subscribe to blocks received.
Subscribe to compact filters received.
Subscribe to SPV events.
Send a command to the client.
Broadcast a message to peers matching the predicate. To only broadcast to outbound peers, use Peer::is_outbound. Read more
Send a message to a random outbound peer. Return the chosen peer or nothing if no peer was available. Read more
Connect to the designated peer address.
Disconnect from the designated peer address.
Import block headers into the node. This may cause the node to broadcast header or inventory messages to its peers. Read more
Import peer addresses into the node’s address book.
Submit a transaction to the network. Read more
Wait for the given predicate to be fulfilled.
Wait for a given number of peers to be connected with the given services.
Wait for the node’s active chain to reach a certain height. The hash at that height is returned. Read more
Listen on events.
Shutdown the node process.
Rescan the blockchain for matching scripts. Read more
Update the watchlist with the provided scripts. 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

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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.