From 6ce4c6cbc50966dae83cf23d727a3d4b48a64533 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 25 Sep 2023 22:14:04 +0000 Subject: [PATCH] Mark `AChannelManager` no-export The trait itself has no purpose for bindings, as all structs are concretized anyway. Further, the bindings have specific handling for generic bounding traits like this. --- lightning/src/ln/channelmanager.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lightning/src/ln/channelmanager.rs b/lightning/src/ln/channelmanager.rs index 3f6a2a6b..8c9b8337 100644 --- a/lightning/src/ln/channelmanager.rs +++ b/lightning/src/ln/channelmanager.rs @@ -840,6 +840,9 @@ pub type SimpleRefChannelManager<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, M, T, F, L> = >; /// A trivial trait which describes any [`ChannelManager`]. +/// +/// This is not exported to bindings users as general cover traits aren't useful in other +/// languages. pub trait AChannelManager { /// A type implementing [`chain::Watch`]. type Watch: chain::Watch + ?Sized; -- 2.30.2