Trait servers::grpc::flight::FlightCraft

source ·
pub trait FlightCraft: Send + Sync + 'static {
    // Required method
    fn do_get<'life0, 'async_trait>(
        &'life0 self,
        request: Request<Ticket>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<TonicStream<FlightData>>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

A subset of [FlightService]

Required Methods§

source

fn do_get<'life0, 'async_trait>( &'life0 self, request: Request<Ticket>, ) -> Pin<Box<dyn Future<Output = Result<Response<TonicStream<FlightData>>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§