]> git.bitcoin.ninja Git - rust-lightning/commit
Support `ReadableArgs` types across in the TLV struct serialization
authorMatt Corallo <git@bluematt.me>
Mon, 6 Feb 2023 21:56:39 +0000 (21:56 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 27 Feb 2023 22:31:11 +0000 (22:31 +0000)
commit6aa5ebb1aac21f65462bbd747627ae58e2949ae3
treee563695670da44b4c010fece1d69565db6fdded5
parent93641540229317b881f86b7a02eba632fd64eb0d
Support `ReadableArgs` types across in the TLV struct serialization

This adds `required` support for trait-wrapped reading (e.g. for
objects read via `ReadableArgs`) as well as support for the
trait-wrapped reading syntax across the TLV struct/enum
serialization macros.
lightning/src/util/ser.rs
lightning/src/util/ser_macros.rs