(&self, ty: Option<&Type>)
| 239 | self.push_str(&self.stream(ty)) |
| 240 | } |
| 241 | fn stream(&self, ty: Option<&Type>) -> String { |
| 242 | let wt = self.wasmtime_path(); |
| 243 | let mut out = format!("{wt}::component::HostStream<"); |
| 244 | out.push_str(&self.optional_ty(ty, TypeMode::Owned)); |
| 245 | out.push_str(">"); |
| 246 | out |
| 247 | } |
| 248 | |
| 249 | fn print_future(&mut self, ty: Option<&Type>) { |
| 250 | self.push_str(&self.future(ty)) |
no test coverage detected