App

pub trait App:
    Send
    + Sync
    + 'static {
Show 16 methods // Required methods fn favorite_list<'life0, 'async_trait>( &'life0 self, request: Request<FavoriteListReq>, ) -> Pin<Box<dyn Future<Output = Result<Response<FavoriteListResp>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn ping<'life0, 'async_trait>( &'life0 self, request: Request<()>, ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn play_control<'life0, 'async_trait>( &'life0 self, request: Request<PlayControlReq>, ) -> Pin<Box<dyn Future<Output = Result<Response<PlayControlResp>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn preload_open_screen<'life0, 'async_trait>( &'life0 self, request: Request<PreloadOpenScreenReq>, ) -> Pin<Box<dyn Future<Output = Result<Response<PreloadOpenScreenResp>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn resource_open_screen<'life0, 'async_trait>( &'life0 self, request: Request<ResourceOpenScreenReq>, ) -> Pin<Box<dyn Future<Output = Result<Response<ResourceOpenScreenResp>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn search<'life0, 'async_trait>( &'life0 self, request: Request<SearchReq>, ) -> Pin<Box<dyn Future<Output = Result<Response<SearchResp>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn search_default_words<'life0, 'async_trait>( &'life0 self, request: Request<SearchDefaultWordsReq>, ) -> Pin<Box<dyn Future<Output = Result<Response<SearchDefaultWordsResp>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn search_square<'life0, 'async_trait>( &'life0 self, request: Request<SearchSquareReq>, ) -> Pin<Box<dyn Future<Output = Result<Response<SearchSquareResp>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn search_suggest<'life0, 'async_trait>( &'life0 self, request: Request<SearchSuggestReq>, ) -> Pin<Box<dyn Future<Output = Result<Response<SearchSuggestResp>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn search_type<'life0, 'async_trait>( &'life0 self, request: Request<SearchTypeReq>, ) -> Pin<Box<dyn Future<Output = Result<Response<SearchTypeResp>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn show_open_screen<'life0, 'async_trait>( &'life0 self, request: Request<ShowOpenScreenReq>, ) -> Pin<Box<dyn Future<Output = Result<Response<ShowOpenScreenResp>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn tab<'life0, 'async_trait>( &'life0 self, request: Request<TabReq>, ) -> Pin<Box<dyn Future<Output = Result<Response<TabResp>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn user_action<'life0, 'async_trait>( &'life0 self, request: Request<UserActionReq>, ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn user_action_log<'life0, 'async_trait>( &'life0 self, request: Request<UserActionLogReq>, ) -> Pin<Box<dyn Future<Output = Result<Response<UserActionLogResp>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn video_shot<'life0, 'async_trait>( &'life0 self, request: Request<VideoShotReq>, ) -> Pin<Box<dyn Future<Output = Result<Response<VideoShotResp>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn view_progress<'life0, 'async_trait>( &'life0 self, request: Request<ViewProgressReq>, ) -> Pin<Box<dyn Future<Output = Result<Response<ViewProgressResp>, 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 AppServer.

Required Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Implementors§