MCPcopy Index your code
hub / github.com/explodingcamera/tinywasm / try_from

Method try_from

crates/parser/src/lib.rs:317–319  ·  view source on GitHub ↗
(reader: ModuleReader<'_>)

Source from the content-addressed store, hash-verified

315 type Error = ParseError;
316
317 fn try_from(reader: ModuleReader<'_>) -> Result<Self> {
318 reader.into_module(&ParserOptions::default())
319 }
320}
321
322/// Parse a module from bytes

Callers

nothing calls this directly

Calls 1

into_moduleMethod · 0.80

Tested by

no test coverage detected