@@ -750,25 +750,25 @@ use futures_util::{dummy_waker, OptionalSelector, Selector, SelectorOutput};
750
750
#[ cfg( feature = "futures" ) ]
751
751
pub async fn process_events_async <
752
752
' a ,
753
- UL : ' static + Deref + Send + Sync ,
754
- CF : ' static + Deref + Send + Sync ,
755
- T : ' static + Deref + Send + Sync ,
756
- F : ' static + Deref + Send + Sync ,
757
- G : ' static + Deref < Target = NetworkGraph < L > > + Send + Sync ,
758
- L : ' static + Deref + Send + Sync ,
759
- P : ' static + Deref + Send + Sync ,
753
+ UL : ' static + Deref ,
754
+ CF : ' static + Deref ,
755
+ T : ' static + Deref ,
756
+ F : ' static + Deref ,
757
+ G : ' static + Deref < Target = NetworkGraph < L > > ,
758
+ L : ' static + Deref ,
759
+ P : ' static + Deref ,
760
760
EventHandlerFuture : core:: future:: Future < Output = Result < ( ) , ReplayEvent > > ,
761
761
EventHandler : Fn ( Event ) -> EventHandlerFuture ,
762
762
PS : ' static + Deref + Send ,
763
763
M : ' static
764
764
+ Deref < Target = ChainMonitor < <CM :: Target as AChannelManager >:: Signer , CF , T , F , L , P > >
765
765
+ Send
766
766
+ Sync ,
767
- CM : ' static + Deref + Send + Sync ,
768
- OM : ' static + Deref + Send + Sync ,
769
- PGS : ' static + Deref < Target = P2PGossipSync < G , UL , L > > + Send + Sync ,
770
- RGS : ' static + Deref < Target = RapidGossipSync < G , L > > + Send ,
771
- PM : ' static + Deref + Send + Sync ,
767
+ CM : ' static + Deref ,
768
+ OM : ' static + Deref ,
769
+ PGS : ' static + Deref < Target = P2PGossipSync < G , UL , L > > ,
770
+ RGS : ' static + Deref < Target = RapidGossipSync < G , L > > ,
771
+ PM : ' static + Deref ,
772
772
LM : ' static + Deref ,
773
773
S : ' static + Deref < Target = SC > + Send + Sync ,
774
774
SC : for < ' b > WriteableScore < ' b > ,
@@ -789,9 +789,9 @@ where
789
789
L :: Target : ' static + Logger ,
790
790
P :: Target : ' static + Persist < <CM :: Target as AChannelManager >:: Signer > ,
791
791
PS :: Target : ' static + Persister < ' a , CM , L , S > ,
792
- CM :: Target : AChannelManager + Send + Sync ,
793
- OM :: Target : AOnionMessenger + Send + Sync ,
794
- PM :: Target : APeerManager + Send + Sync ,
792
+ CM :: Target : AChannelManager ,
793
+ OM :: Target : AOnionMessenger ,
794
+ PM :: Target : APeerManager ,
795
795
LM :: Target : ALiquidityManager ,
796
796
{
797
797
let mut should_break = false ;
@@ -935,25 +935,25 @@ impl BackgroundProcessor {
935
935
/// [`NetworkGraph::write`]: lightning::routing::gossip::NetworkGraph#impl-Writeable
936
936
pub fn start <
937
937
' a ,
938
- UL : ' static + Deref + Send + Sync ,
939
- CF : ' static + Deref + Send + Sync ,
940
- T : ' static + Deref + Send + Sync ,
941
- F : ' static + Deref + Send + Sync ,
942
- G : ' static + Deref < Target = NetworkGraph < L > > + Send + Sync ,
943
- L : ' static + Deref + Send + Sync ,
944
- P : ' static + Deref + Send + Sync ,
938
+ UL : ' static + Deref ,
939
+ CF : ' static + Deref ,
940
+ T : ' static + Deref ,
941
+ F : ' static + Deref + Send ,
942
+ G : ' static + Deref < Target = NetworkGraph < L > > ,
943
+ L : ' static + Deref + Send ,
944
+ P : ' static + Deref ,
945
945
EH : ' static + EventHandler + Send ,
946
946
PS : ' static + Deref + Send ,
947
947
M : ' static
948
948
+ Deref < Target = ChainMonitor < <CM :: Target as AChannelManager >:: Signer , CF , T , F , L , P > >
949
949
+ Send
950
950
+ Sync ,
951
- CM : ' static + Deref + Send + Sync ,
952
- OM : ' static + Deref + Send + Sync ,
953
- PGS : ' static + Deref < Target = P2PGossipSync < G , UL , L > > + Send + Sync ,
951
+ CM : ' static + Deref + Send ,
952
+ OM : ' static + Deref + Send ,
953
+ PGS : ' static + Deref < Target = P2PGossipSync < G , UL , L > > + Send ,
954
954
RGS : ' static + Deref < Target = RapidGossipSync < G , L > > + Send ,
955
- PM : ' static + Deref + Send + Sync ,
956
- LM : ' static + Deref + Send + Sync ,
955
+ PM : ' static + Deref + Send ,
956
+ LM : ' static + Deref + Send ,
957
957
S : ' static + Deref < Target = SC > + Send + Sync ,
958
958
SC : for < ' b > WriteableScore < ' b > ,
959
959
> (
@@ -969,10 +969,10 @@ impl BackgroundProcessor {
969
969
L :: Target : ' static + Logger ,
970
970
P :: Target : ' static + Persist < <CM :: Target as AChannelManager >:: Signer > ,
971
971
PS :: Target : ' static + Persister < ' a , CM , L , S > ,
972
- CM :: Target : AChannelManager + Send + Sync ,
973
- OM :: Target : AOnionMessenger + Send + Sync ,
974
- PM :: Target : APeerManager + Send + Sync ,
975
- LM :: Target : ALiquidityManager + Send + Sync ,
972
+ CM :: Target : AChannelManager ,
973
+ OM :: Target : AOnionMessenger ,
974
+ PM :: Target : APeerManager ,
975
+ LM :: Target : ALiquidityManager ,
976
976
{
977
977
let stop_thread = Arc :: new ( AtomicBool :: new ( false ) ) ;
978
978
let stop_thread_clone = stop_thread. clone ( ) ;
0 commit comments