From: Matt Corallo Date: Mon, 25 Sep 2023 22:14:04 +0000 (+0000) Subject: Mark `AChannelManager` no-export X-Git-Tag: v0.0.117~4^2~5 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=6ce4c6cbc50966dae83cf23d727a3d4b48a64533;p=rust-lightning 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. --- diff --git a/lightning/src/ln/channelmanager.rs b/lightning/src/ln/channelmanager.rs index 3f6a2a6b2..8c9b8337e 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;