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

pub struct LockedNetworkGraph<'a>(pub RwLockReadGuard<'a, NetworkGraph>);
Expand description

A simple newtype for RwLockReadGuard<’a, NetworkGraph>. This exists only to make accessing a RwLock possible from the C bindings, as it can be done directly in Rust code.

Implementations

Get a reference to the NetworkGraph which this read-lock contains.

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.