breez_sdk_liquid::lightning::routing::scoring

Trait WriteableScore

pub trait WriteableScore<'a>: LockableScore<'a> + Writeable { }
Expand description

Refers to a scorer that is accessible under lock and also writeable to disk

We need this trait to be able to pass in a scorer to lightning-background-processor that will enable us to use the Persister to persist it.

Object Safety§

This trait is not object safe.

Implementors§

§

impl<'a, T> WriteableScore<'a> for T
where T: LockableScore<'a> + Writeable,