Skip to content

Commit a8acbe7

Browse files
committed
No-export APeerManager in bindings
`APeerManager` will simply be mapped as `PeerManager` in bindings, as structs are all concretized into a single form.
1 parent 97a6246 commit a8acbe7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/ln/peer_handler.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,9 @@ pub type SimpleRefPeerManager<
641641
/// A generic trait which is implemented for all [`PeerManager`]s. This makes bounding functions or
642642
/// structs on any [`PeerManager`] much simpler as only this trait is needed as a bound, rather
643643
/// than the full set of bounds on [`PeerManager`] itself.
644+
///
645+
/// This is not exported to bindings users as general cover traits aren't useful in other
646+
/// languages.
644647
#[allow(missing_docs)]
645648
pub trait APeerManager {
646649
type Descriptor: SocketDescriptor;

0 commit comments

Comments
 (0)