(slf: Py<Self>)
| 509 | |
| 510 | impl ImpitPyResponse { |
| 511 | fn close_async_impl(slf: Py<Self>) -> PyResult<()> { |
| 512 | Python::attach(|py| { |
| 513 | let mut slf_ref = slf.borrow_mut(py); |
| 514 | slf_ref.close() |
| 515 | }) |
| 516 | } |
| 517 | |
| 518 | pub async fn from_async( |
| 519 | val: Response, |