Tag `KVStore` `(C-not exported)` as `Writeable` isn't mapped 2022-07-110-bindings
authorMatt Corallo <git@bluematt.me>
Sun, 26 Jun 2022 18:14:30 +0000 (18:14 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 26 Jul 2022 23:09:04 +0000 (23:09 +0000)
commite0bec37f8d40128dba63681ec528d7c18f9878c4
tree9a66bb962cbce99b6b02b828169e71956ff5b083
parenta19cb0e969113500a26c7b902cbc381fea32ca46
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