@@ -499,7 +499,7 @@ pub mod flight_service_server {
499
499
#[ async_trait]
500
500
pub trait FlightService : Send + Sync + ' static {
501
501
#[ doc = "Server streaming response type for the Handshake method." ]
502
- type HandshakeStream : Stream < Item = Result < super :: HandshakeResponse , tonic:: Status > >
502
+ type HandshakeStream : futures_core :: Stream < Item = Result < super :: HandshakeResponse , tonic:: Status > >
503
503
+ Send
504
504
+ Sync
505
505
+ ' static ;
@@ -513,7 +513,7 @@ pub mod flight_service_server {
513
513
request : tonic:: Request < tonic:: Streaming < super :: HandshakeRequest > > ,
514
514
) -> Result < tonic:: Response < Self :: HandshakeStream > , tonic:: Status > ;
515
515
#[ doc = "Server streaming response type for the ListFlights method." ]
516
- type ListFlightsStream : Stream < Item = Result < super :: FlightInfo , tonic:: Status > >
516
+ type ListFlightsStream : futures_core :: Stream < Item = Result < super :: FlightInfo , tonic:: Status > >
517
517
+ Send
518
518
+ Sync
519
519
+ ' static ;
@@ -553,7 +553,7 @@ pub mod flight_service_server {
553
553
request : tonic:: Request < super :: FlightDescriptor > ,
554
554
) -> Result < tonic:: Response < super :: SchemaResult > , tonic:: Status > ;
555
555
#[ doc = "Server streaming response type for the DoGet method." ]
556
- type DoGetStream : Stream < Item = Result < super :: FlightData , tonic:: Status > >
556
+ type DoGetStream : futures_core :: Stream < Item = Result < super :: FlightData , tonic:: Status > >
557
557
+ Send
558
558
+ Sync
559
559
+ ' static ;
@@ -567,7 +567,7 @@ pub mod flight_service_server {
567
567
request : tonic:: Request < super :: Ticket > ,
568
568
) -> Result < tonic:: Response < Self :: DoGetStream > , tonic:: Status > ;
569
569
#[ doc = "Server streaming response type for the DoPut method." ]
570
- type DoPutStream : Stream < Item = Result < super :: PutResult , tonic:: Status > >
570
+ type DoPutStream : futures_core :: Stream < Item = Result < super :: PutResult , tonic:: Status > >
571
571
+ Send
572
572
+ Sync
573
573
+ ' static ;
@@ -583,7 +583,7 @@ pub mod flight_service_server {
583
583
request : tonic:: Request < tonic:: Streaming < super :: FlightData > > ,
584
584
) -> Result < tonic:: Response < Self :: DoPutStream > , tonic:: Status > ;
585
585
#[ doc = "Server streaming response type for the DoExchange method." ]
586
- type DoExchangeStream : Stream < Item = Result < super :: FlightData , tonic:: Status > >
586
+ type DoExchangeStream : futures_core :: Stream < Item = Result < super :: FlightData , tonic:: Status > >
587
587
+ Send
588
588
+ Sync
589
589
+ ' static ;
@@ -598,7 +598,7 @@ pub mod flight_service_server {
598
598
request : tonic:: Request < tonic:: Streaming < super :: FlightData > > ,
599
599
) -> Result < tonic:: Response < Self :: DoExchangeStream > , tonic:: Status > ;
600
600
#[ doc = "Server streaming response type for the DoAction method." ]
601
- type DoActionStream : Stream < Item = Result < super :: Result , tonic:: Status > >
601
+ type DoActionStream : futures_core :: Stream < Item = Result < super :: Result , tonic:: Status > >
602
602
+ Send
603
603
+ Sync
604
604
+ ' static ;
@@ -614,7 +614,7 @@ pub mod flight_service_server {
614
614
request : tonic:: Request < super :: Action > ,
615
615
) -> Result < tonic:: Response < Self :: DoActionStream > , tonic:: Status > ;
616
616
#[ doc = "Server streaming response type for the ListActions method." ]
617
- type ListActionsStream : Stream < Item = Result < super :: ActionType , tonic:: Status > >
617
+ type ListActionsStream : futures_core :: Stream < Item = Result < super :: ActionType , tonic:: Status > >
618
618
+ Send
619
619
+ Sync
620
620
+ ' static ;
0 commit comments