Tag `KVStore` `(C-not exported)` as `Writeable` isn't mapped
authorMatt Corallo <git@bluematt.me>
Sun, 26 Jun 2022 18:14:30 +0000 (18:14 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 21 Jul 2023 23:53:14 +0000 (23:53 +0000)
commita025dc525184b22679b9e04577f81d1dba3555eb
tree63d2225455268cad4114d1d7c83b7e2a0c380cca
parent7a8086e5f8e127d15494a92a1400a8321031cb62
Tag `KVStore` `(C-not exported)` as `Writeable` isn't mapped

Currently `Writeable` is mapped manually, making it impossible to
automatically map a trait method that is parameterized by
`Writeable` (as is true for the `write` method on `KVStore`).

Ultimately we'll want to move to automatically mapping `Writeable`
like any other trait (only manually mapping the std `Write` and
`Read` traits), so this is only a candidate for the bindings branch,
not upstream. That may take a few releases, however.
lightning/src/util/persist.rs