pub trait App:
Send
+ Sync
+ 'static {
Show 33 methods
// Required methods
fn activity_bubble<'life0, 'async_trait>(
&'life0 self,
request: Request<ActivityBubbleReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<ActivityBubbleResp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn anime_schedule<'life0, 'async_trait>(
&'life0 self,
request: Request<AnimeScheduleReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<AnimeScheduleResp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn app_notify_report<'life0, 'async_trait>(
&'life0 self,
request: Request<AppNotifyReportReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn conversation_list<'life0, 'async_trait>(
&'life0 self,
request: Request<ConversationListRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ConversationListResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_download_page_banner_ad_conf<'life0, 'async_trait>(
&'life0 self,
request: Request<GetDownloadPageBannerAdConfReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetDownloadPageBannerAdConfResp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_exposure_splash_ad<'life0, 'async_trait>(
&'life0 self,
request: Request<GetExposureSplashAdReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetExposureSplashAdResp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_premium_upgrade_panel<'life0, 'async_trait>(
&'life0 self,
request: Request<GetPremiumUpgradePanelReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetPremiumUpgradePanelResp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_relation<'life0, 'async_trait>(
&'life0 self,
request: Request<GetRelationReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetRelationResp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_sdk_ad_config<'life0, 'async_trait>(
&'life0 self,
request: Request<GetSdkAdConfigReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetSdkAdConfigResp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_sdk_ad_ecpm<'life0, 'async_trait>(
&'life0 self,
request: Request<GetSdkAdEcpmReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetSdkAdEcpmResp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_uid2_token<'life0, 'async_trait>(
&'life0 self,
request: Request<GetUid2TokenReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<Uid2Token>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_view_collections<'life0, 'async_trait>(
&'life0 self,
request: Request<GetViewCollectionsReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetViewCollectionsResp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_view_conf<'life0, 'async_trait>(
&'life0 self,
request: Request<GetViewConfReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetViewConfResp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_view_refresh_ad<'life0, 'async_trait>(
&'life0 self,
request: Request<GetViewRefreshAdReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetViewRefreshAdResp>, 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 preload_splash_ad<'life0, 'async_trait>(
&'life0 self,
request: Request<PreloadSplashAdReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<PreloadSplashAdResp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn pull_conversations<'life0, 'async_trait>(
&'life0 self,
request: Request<PullConversationsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<PullConversationsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn pull_messages<'life0, 'async_trait>(
&'life0 self,
request: Request<PullMessagesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<PullMessagesResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn rec_unlock_ad_list<'life0, 'async_trait>(
&'life0 self,
request: Request<RecUnlockAdListReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<RecUnlockAdListResp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn rec_unlock_cnt<'life0, 'async_trait>(
&'life0 self,
request: Request<RecUnlockCntReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<RecUnlockCntResp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn report_ad_event<'life0, 'async_trait>(
&'life0 self,
request: Request<AdEvent>,
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn search_square_v2<'life0, 'async_trait>(
&'life0 self,
request: Request<SearchSquareV2Req>,
) -> Pin<Box<dyn Future<Output = Result<Response<SearchSquareV2Resp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn send_message<'life0, 'async_trait>(
&'life0 self,
request: Request<SendMessageRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SendMessageResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn set_conversation_seq<'life0, 'async_trait>(
&'life0 self,
request: Request<SetConversationSeqRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SetConversationSeqResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn start_conversation<'life0, 'async_trait>(
&'life0 self,
request: Request<StartConversationRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<StartConversationResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn submit_user_info_collection<'life0, 'async_trait>(
&'life0 self,
request: Request<SubmitUserInfoCollectionReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<SubmitUserInfoCollectionResp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn unlock<'life0, 'async_trait>(
&'life0 self,
request: Request<UnlockReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn unlock_panel<'life0, 'async_trait>(
&'life0 self,
request: Request<UnlockPanelReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<UnlockPanelResp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn user_info_collection_pop_up<'life0, 'async_trait>(
&'life0 self,
request: Request<UserInfoCollectionPopUpReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<UserInfoCollectionPopUpResp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn user_login_info<'life0, 'async_trait>(
&'life0 self,
request: Request<UserLoginInfoReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<UserLoginInfoResp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn view_ad_confirm<'life0, 'async_trait>(
&'life0 self,
request: Request<ViewAdConfirmReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<ViewAdConfirmResp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn view_ad_unlock<'life0, 'async_trait>(
&'life0 self,
request: Request<ViewAdUnlockReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<ViewAdUnlockResp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn view_ad_unlock_pre_check<'life0, 'async_trait>(
&'life0 self,
request: Request<ViewAdUnlockPreCheckReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<ViewAdUnlockPreCheckResp>, 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.