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