]> git.bitcoin.ninja Git - rust-lightning/commit
Tag `KVStore` `(C-not exported)` as `Writeable` isn't mapped 2022-07-109-bindings
authorMatt Corallo <git@bluematt.me>
Sun, 26 Jun 2022 18:14:30 +0000 (18:14 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 1 Jul 2022 17:48:08 +0000 (17:48 +0000)
commit10f4f06ab474dd800957212197956b1631eb5a5b
tree169f5edba2e18e4f115a93b32eb85baa19922f0e
parentac1660ef6753cd1e36760686305b5c0b87dd376f
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