Enum wit_component::DecodedWasm
source · pub enum DecodedWasm {
WitPackage(Resolve, PackageId),
Component(Resolve, WorldId),
}
Expand description
Result of the decode
function.
Variants§
WitPackage(Resolve, PackageId)
The input to decode
was a binary-encoded WIT package.
The full resolve graph is here plus the identifier of the package that was encoded. Note that other packages may be within the resolve if this package refers to foreign packages.
Component(Resolve, WorldId)
The input to decode
was a component and its interface is specified
by the world here.