(
&self,
pl: &mut RejoinReqPayload,
async_resp: Option<Receiver<Vec<u8>>>,
)
| 170 | } |
| 171 | |
| 172 | pub async fn rejoin_req( |
| 173 | &self, |
| 174 | pl: &mut RejoinReqPayload, |
| 175 | async_resp: Option<Receiver<Vec<u8>>>, |
| 176 | ) -> Result<RejoinAnsPayload> { |
| 177 | pl.base.sender_id.clone_from(&self.config.sender_id); |
| 178 | pl.base.receiver_id.clone_from(&self.config.receiver_id); |
| 179 | pl.base.message_type = MessageType::RejoinReq; |
| 180 | |
| 181 | let mut ans: RejoinAnsPayload = Default::default(); |
| 182 | self.request(None, &pl, &mut ans, async_resp).await?; |
| 183 | Ok(ans) |
| 184 | } |
| 185 | |
| 186 | pub async fn app_s_key_req( |
| 187 | &self, |