| 228 | } |
| 229 | |
| 230 | struct CallbackServerState { |
| 231 | allowed_origin: Option<String>, |
| 232 | expected_code: String, |
| 233 | tx: Mutex<Option<oneshot::Sender<String>>>, |
| 234 | } |
| 235 | |
| 236 | impl CallbackServerState { |
| 237 | fn take_sender(&self) -> Option<oneshot::Sender<String>> { |
nothing calls this directly
no outgoing calls
no test coverage detected