Path: blob/main/crates/wasi-io/src/bindings.rs
3076 views
wasmtime::component::bindgen!({1path: "wit",2with: {3"wasi:io/poll.pollable": crate::poll::DynPollable,4"wasi:io/streams.input-stream": crate::streams::DynInputStream,5"wasi:io/streams.output-stream": crate::streams::DynOutputStream,6"wasi:io/error.error": crate::streams::Error,7},8imports: {9"wasi:io/poll.poll": async | trappable | tracing,10"wasi:io/poll.[method]pollable.block": async | trappable | tracing,11"wasi:io/poll.[method]pollable.ready": async | trappable | tracing,12"wasi:io/streams.[method]input-stream.blocking-read": async | trappable | tracing,13"wasi:io/streams.[method]input-stream.blocking-skip": async | trappable | tracing,14"wasi:io/streams.[drop]input-stream": async | trappable | tracing,15"wasi:io/streams.[method]output-stream.blocking-splice": async | trappable | tracing,16"wasi:io/streams.[method]output-stream.blocking-flush": async | trappable | tracing,17"wasi:io/streams.[method]output-stream.blocking-write-and-flush": async | trappable | tracing,18"wasi:io/streams.[method]output-stream.blocking-write-zeroes-and-flush": async | trappable | tracing,19"wasi:io/streams.[drop]output-stream": async | trappable,20default: trappable | tracing,21},22trappable_error_type: {23"wasi:io/streams.stream-error" => crate::streams::StreamError,24}25});262728