Searched refs:get_response (Results 1 – 2 of 2) sorted by relevance
219 let get_response = self.secret_management_request(&get_request).context("secret mgmt")?; in get() localVariable220 let get_response = in get() localVariable221 ResponsePacket::from_slice(&get_response).context("deserialize ResponsePacket")?; in get()223 if get_response.response_type().unwrap() == ResponseType::Success { in get()224 let get_response = *GetSecretResponse::deserialize_from_packet(get_response).unwrap(); in get() localVariable225 Ok(Some(Secret(get_response.secret.0))) in get()228 let err = *SecretkeeperError::deserialize_from_packet(get_response).unwrap(); in get()
229 let get_response = self.secret_management_request(&get_request)?; in get_update_policy() localVariable230 let get_response = ResponsePacket::from_slice(&get_response)?; in get_update_policy() localVariable232 if get_response.response_type()? == ResponseType::Success { in get_update_policy()233 let get_response = *GetSecretResponse::deserialize_from_packet(get_response)?; in get_update_policy() localVariable234 Ok(Secret(get_response.secret.0)) in get_update_policy()236 let err = *SecretkeeperError::deserialize_from_packet(get_response)?; in get_update_policy()