Struct lightning::routing::network_graph::ReadOnlyNetworkGraph[][src]

pub struct ReadOnlyNetworkGraph<'a> { /* fields omitted */ }
Expand description

A read-only view of NetworkGraph.

Implementations

Returns all known valid channels’ short ids along with announced channel info.

(C-not exported) because we have no mapping for BTreeMaps

Returns all known nodes’ public keys along with announced node info.

(C-not exported) because we have no mapping for BTreeMaps

Get network addresses by node id. Returns None if the requested node is completely unknown, or if node announcement for the node was never received.

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.