pub trait ImInterface:
Send
+ Sync
+ 'static {
Show 35 methods
// Required methods
fn ack_assis_msg<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqAckAssisMsg>,
) -> Pin<Box<dyn Future<Output = Result<Response<DummyRsp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ack_sessions<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqAckSessions>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspSessions>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn batch_get_msg_detail<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqGetMsg>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspGetMsg>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn batch_rm_dustbin<'life0, 'async_trait>(
&'life0 self,
request: Request<DummyReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<DummyRsp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn batch_rm_sessions<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqBatRmSess>,
) -> Pin<Box<dyn Future<Output = Result<Response<DummyRsp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn batch_sess_detail<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqSessionDetails>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspSessionDetails>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn batch_update_dustbin_ack<'life0, 'async_trait>(
&'life0 self,
request: Request<DummyReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<DummyRsp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn close_clear_unread_ui<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqCloseClearUnreadUi>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspCloseClearUnreadUi>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_discuss_list_in_im_page<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqGetDiscussListInImPage>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspGetDiscussListInImPage>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_live_info<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqLiveInfo>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspLiveInfo>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_sessions<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqGetSessions>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspSessions>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_specific_sessions<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqGetSpecificSessions>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspSessions>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_total_unread<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqTotalUnread>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspTotalUnread>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_user_cosmo_state<'life0, 'async_trait>(
&'life0 self,
request: Request<GetUserCosmoStateReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetUserCosmoStateRsp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn group_assis_msg<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqGroupAssisMsg>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspSessionMsg>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn like_msg<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqLikeMsg>,
) -> Pin<Box<dyn Future<Output = Result<Response<DummyRsp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn msg_has_like<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqMsgHasLike>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspMsgHasLike>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn my_group_unread<'life0, 'async_trait>(
&'life0 self,
request: Request<DummyReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspMyGroupUnread>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn new_sessions<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqNewSessions>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspSessions>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn remove_session<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqRemoveSession>,
) -> Pin<Box<dyn Future<Output = Result<Response<DummyRsp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn send_msg<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqSendMsg>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspSendMsg>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn session_detail<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqSessionDetail>,
) -> Pin<Box<dyn Future<Output = Result<Response<SessionInfo>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn set_top<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqSetTop>,
) -> Pin<Box<dyn Future<Output = Result<Response<DummyRsp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn share_list<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqShareList>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspShareList>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn show_clear_unread_ui<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqShowClearUnreadUi>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspShowClearUnreadUi>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn single_unread<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqSingleUnread>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspSingleUnread>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn specific_single_unread<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqSpecificSingleUnread>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspSpecificSingleUnread>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn sync_ack<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqSyncAck>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspSyncAck>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn sync_fetch_session_msgs<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqSessionMsg>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspSessionMsg>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn sync_relation<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqRelationSync>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspRelationSync>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_ack<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqUpdateAck>,
) -> Pin<Box<dyn Future<Output = Result<Response<DummyRsp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_intercept<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqUpdateIntercept>,
) -> Pin<Box<dyn Future<Output = Result<Response<DummyRsp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_total_unread<'life0, 'async_trait>(
&'life0 self,
request: Request<ReqUpdateTotalUnread>,
) -> Pin<Box<dyn Future<Output = Result<Response<RspUpdateTotalUnread>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_unflw_read<'life0, 'async_trait>(
&'life0 self,
request: Request<DummyReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<DummyRsp>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_user_cosmo_state<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateUserCosmoStateReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateUserCosmoStateRsp>, 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 ImInterfaceServer.