breez_sdk_liquid::lightning_125::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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

§

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