Use a trait to handle ChannelManager persistence instead of an Fn
authorMatt Corallo <git@bluematt.me>
Tue, 13 Apr 2021 23:38:31 +0000 (19:38 -0400)
committerMatt Corallo <git@bluematt.me>
Thu, 15 Apr 2021 19:23:05 +0000 (15:23 -0400)
This avoids having to write new support for closures in the C
bindings generation but, more importantly, we really need to also
be handling Events in the same trait, so it makes sense to go ahead
and convert it.

For compatibility, the trait is implemented for any matching
closure.


No differences found