@@ -335,6 +335,8 @@ pub type SimpleRefPeerManager<'a, 'b, 'c, 'd, 'e, 'f, 'g, SD, M, T, F, C, L> = P
335
335
/// essentially you should default to using a SimpleRefPeerManager, and use a
336
336
/// SimpleArcPeerManager when you require a PeerManager with a static lifetime, such as when
337
337
/// you're using lightning-net-tokio.
338
+ ///
339
+ /// [`read_event`]: PeerManager::read_event
338
340
pub struct PeerManager < Descriptor : SocketDescriptor , CM : Deref , RM : Deref , L : Deref > where
339
341
CM :: Target : ChannelMessageHandler ,
340
342
RM :: Target : RoutingMessageHandler ,
@@ -1109,13 +1111,13 @@ impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, L: Deref> PeerManager<D
1109
1111
1110
1112
/// Checks for any events generated by our handlers and processes them. Includes sending most
1111
1113
/// response messages as well as messages generated by calls to handler functions directly (eg
1112
- /// functions like [`ChannelManager::process_pending_htlc_forward `] or [`send_payment`]).
1114
+ /// functions like [`ChannelManager::process_pending_htlc_forwards `] or [`send_payment`]).
1113
1115
///
1114
1116
/// Will most likely call [`send_data`] on descriptors previously provided to
1115
1117
/// new_*\_connection. Thus, be very careful with reentrancy issues!
1116
1118
///
1117
1119
/// [`send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment
1118
- /// [`ChannelManager::process_pending_htlc_forward `]: crate::ln::channelmanager::ChannelManager::process_pending_htlc_forward
1120
+ /// [`ChannelManager::process_pending_htlc_forwards `]: crate::ln::channelmanager::ChannelManager::process_pending_htlc_forwards
1119
1121
/// [`send_data`]: SocketDescriptor::send_data
1120
1122
pub fn process_events ( & self ) {
1121
1123
{
@@ -1377,6 +1379,8 @@ impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, L: Deref> PeerManager<D
1377
1379
///
1378
1380
/// Will most likely call [`send_data`] all descriptors previously provided to
1379
1381
/// new_*\_connection. Thus, be very careful with reentrancy issues!
1382
+ ///
1383
+ /// [`send_data`]: SocketDescriptor::send_data
1380
1384
pub fn timer_tick_occurred ( & self ) {
1381
1385
let mut peers_lock = self . peers . lock ( ) . unwrap ( ) ;
1382
1386
{
0 commit comments