Trait breez_sdk_liquid::lightning::routing::scoring::Score

pub trait Score: ScoreLookUp + ScoreUpdate { }
Expand description

A trait which can both lookup and update routing channel penalty scores.

This is used in places where both bounds are required and implemented for all types which implement ScoreLookUp and ScoreUpdate.

Bindings users may need to manually implement this for their custom scoring implementations.

Implementors§

§

impl<T> Score for T