MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / print_stream

Method print_stream

crates/wit-bindgen/src/rust.rs:238–240  ·  view source on GitHub ↗
(&mut self, ty: Option<&Type>)

Source from the content-addressed store, hash-verified

236 }
237
238 fn print_stream(&mut 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<");

Callers 1

type_streamMethod · 0.80

Implementers 1

lib.rscrates/wit-bindgen/src/lib.rs

Calls 2

push_strMethod · 0.45
streamMethod · 0.45

Tested by

no test coverage detected