(&self, socket_path: Option<String>, warnings: Vec<String>)
| 227 | } |
| 228 | |
| 229 | async fn set_socket_state(&self, socket_path: Option<String>, warnings: Vec<String>) { |
| 230 | let mut state = self.state.write().await; |
| 231 | state.socket_path = socket_path; |
| 232 | state.warnings = warnings; |
| 233 | if state.socket_path.is_none() { |
| 234 | state.applications.clear(); |
| 235 | state.pages.clear(); |
| 236 | } |
| 237 | drop(state); |
| 238 | self.notify.notify_waiters(); |
| 239 | } |
| 240 | |
| 241 | async fn publish_listing( |
| 242 | &self, |