(entries: Vec<CollectionDestinationEntry>)
| 685 | |
| 686 | /// Load a history entry into a new tab |
| 687 | pub fn load_history_entry( |
| 688 | &mut self, |
| 689 | entry_id: Uuid, |
| 690 | window: &mut Window, |
| 691 | cx: &mut Context<Self>, |
| 692 | ) { |
| 693 | // First extract all data we need, then drop the borrow |
| 694 | let entry_data = { |
| 695 | let history = self.history.read(cx); |
| 696 | history.get_entry(entry_id).map(|entry| { |
| 697 | ( |
| 698 | entry.websocket_request.clone(), |
nothing calls this directly
no outgoing calls
no test coverage detected