Method
get_instance
(
&mut self,
self_: Resource<Frame>,
d: Resource<Debuggee>,
)
Source from the content-addressed store, hash-verified
| 848 | |
| 849 | impl wit::HostFrame for ResourceTable { |
| 850 | async fn get_instance( |
| 851 | &mut self, |
| 852 | self_: Resource<Frame>, |
| 853 | d: Resource<Debuggee>, |
| 854 | ) -> Result<Resource<Instance>> { |
| 855 | let frame = self.get(&self_)?.0.clone(); |
| 856 | let d = debugger(self, &d)?; |
| 857 | let instance = d.frame_instance(frame).await?; |
| 858 | Ok(self.push(instance)?) |
| 859 | } |
| 860 | |
| 861 | async fn get_func_index( |
| 862 | &mut self, |
Tested by
no test coverage detected