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.
Implementors
impl<'a, T> WriteableScore<'a> for Twhere
T: LockableScore<'a> + Writeable,
Available on non-
c_bindings
only.