]> git.bitcoin.ninja Git - rust-lightning/commit
Simplify implementation for KVStore trait objects
authorWillem Van Lint <noreply@wvanlint.dev>
Thu, 28 Mar 2024 01:16:19 +0000 (18:16 -0700)
committerWillem Van Lint <noreply@wvanlint.dev>
Thu, 28 Mar 2024 01:16:19 +0000 (18:16 -0700)
commita65748f613584e950845adeb450f1c9d86495a6d
tree5671efbafe6a5e428a2b03c80357360e2f216b67
parentbeef584cf39497090636c2206e20f1b56ffccb92
Simplify implementation for KVStore trait objects

The implementation of the Persist and Persister trait for KVStore types
can also be used for trait objects if there is no implicit bound of
`Sized`.
lightning/src/util/persist.rs