From a8acbe710e4dbfddd8b12321ce3d5d722c199f90 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 19 Jul 2023 20:01:32 +0000 Subject: [PATCH] No-export `APeerManager` in bindings `APeerManager` will simply be mapped as `PeerManager` in bindings, as structs are all concretized into a single form. --- lightning/src/ln/peer_handler.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lightning/src/ln/peer_handler.rs b/lightning/src/ln/peer_handler.rs index 60230af78..1a39bbb3a 100644 --- a/lightning/src/ln/peer_handler.rs +++ b/lightning/src/ln/peer_handler.rs @@ -641,6 +641,9 @@ pub type SimpleRefPeerManager< /// A generic trait which is implemented for all [`PeerManager`]s. This makes bounding functions or /// structs on any [`PeerManager`] much simpler as only this trait is needed as a bound, rather /// than the full set of bounds on [`PeerManager`] itself. +/// +/// This is not exported to bindings users as general cover traits aren't useful in other +/// languages. #[allow(missing_docs)] pub trait APeerManager { type Descriptor: SocketDescriptor; -- 2.39.5