sui_rpc_api::proto::rpc::v2alpha::move_package_service_server

Trait MovePackageService

Source
pub trait MovePackageService:
    Send
    + Sync
    + 'static {
    // Required methods
    fn get_package<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetPackageRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetPackageResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_module<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetModuleRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetModuleResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_datatype<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetDatatypeRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetDatatypeResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_function<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetFunctionRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetFunctionResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn list_package_versions<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ListPackageVersionsRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<ListPackageVersionsResponse>, 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 MovePackageServiceServer.

Required Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Implementors§