(
&self,
traces: Vec<Trace>,
py: Python<'py>,
)
| 69 | } |
| 70 | |
| 71 | pub fn decode_traces_input<'py>( |
| 72 | &self, |
| 73 | traces: Vec<Trace>, |
| 74 | py: Python<'py>, |
| 75 | ) -> PyResult<Bound<'py, PyAny>> { |
| 76 | let decoder = self.clone(); |
| 77 | |
| 78 | future_into_py(py, async move { |
| 79 | let result = tokio::task::spawn_blocking(move || { |
| 80 | Python::attach(|py| decoder.decode_traces_input_sync(traces, py)) |
| 81 | }) |
| 82 | .await |
| 83 | .unwrap(); |
| 84 | Ok(result) |
| 85 | }) |
| 86 | } |
| 87 | |
| 88 | pub fn decode_inputs_sync( |
| 89 | &self, |
nothing calls this directly
no test coverage detected