]> git.bitcoin.ninja Git - rust-lightning/commit
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>
Sat, 4 Mar 2023 02:18:22 +0000 (02:18 +0000)
commit7a21dbdb50b3a42e5fbd3010f1944281477444bd
treea7ac3cefd4e12da8d5d48208b003ac101915eb5f
parent7ff362359bb6b4e77afa3b115fb24a7110e58999
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