Skip to content

Commit 6ce4c6c

Browse files
committed
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.
1 parent 09cd4ed commit 6ce4c6c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -840,6 +840,9 @@ pub type SimpleRefChannelManager<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, M, T, F, L> =
840840
>;
841841

842842
/// A trivial trait which describes any [`ChannelManager`].
843+
///
844+
/// This is not exported to bindings users as general cover traits aren't useful in other
845+
/// languages.
843846
pub trait AChannelManager {
844847
/// A type implementing [`chain::Watch`].
845848
type Watch: chain::Watch<Self::Signer> + ?Sized;

0 commit comments

Comments
 (0)