(&mut self)
| 68 | } |
| 69 | |
| 70 | fn options_mut(&mut self) -> &mut RequestOptions { |
| 71 | match &mut self.options { |
| 72 | Some(o) => o, |
| 73 | uninit => { |
| 74 | *uninit = Some(RequestOptions::default()); |
| 75 | uninit.as_mut().unwrap() |
| 76 | } |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | fn wasi_options(&self) -> Result<Option<WasiRequestOptions>, crate::http::Error> { |
| 81 | self.options |
no outgoing calls
no test coverage detected