Implement `Readable`/`Writeable` for `RwLock` wrappers
authorMatt Corallo <git@bluematt.me>
Sat, 30 Sep 2023 17:35:21 +0000 (17:35 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 30 Sep 2023 17:41:43 +0000 (17:41 +0000)
commit3e93f9ad88ca810cb6aea7b6dd7c3fc43a641af8
tree4b13586b26ed287f4f0ed95d396aa7825704ae78
parent20f287f4392e7bdb5e83793d4024f4dc5a29ce58
Implement `Readable`/`Writeable` for `RwLock` wrappers

We now support separate R/W locks in `LockableScore`, which allow
us to do routefinding in parallel, however in order to support
`WriteableScore` for such users we need to implement `Writeable`
for `RwLock` wrappers around `Writeable` types, which we do here.
lightning/src/util/ser.rs