pub trait LiveDataService:
Send
+ Sync
+ 'static {
// Required methods
fn list_dynamic_fields<'life0, 'async_trait>(
&'life0 self,
request: Request<ListDynamicFieldsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListDynamicFieldsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_owned_objects<'life0, 'async_trait>(
&'life0 self,
request: Request<ListOwnedObjectsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListOwnedObjectsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_coin_info<'life0, 'async_trait>(
&'life0 self,
request: Request<GetCoinInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetCoinInfoResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn simulate_transaction<'life0, 'async_trait>(
&'life0 self,
request: Request<SimulateTransactionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SimulateTransactionResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn resolve_transaction<'life0, 'async_trait>(
&'life0 self,
request: Request<ResolveTransactionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ResolveTransactionResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Generated trait containing gRPC methods that should be implemented for use with LiveDataServiceServer.