Enum wit_component::DecodedWasm
source · pub enum DecodedWasm {
WitPackage(Resolve, Id<Package>),
Component(Resolve, Id<World>),
}
Expand description
Result of the decode
function.
Variants§
WitPackage(Resolve, Id<Package>)
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, Id<World>)
The input to decode
was a component and its interface is specified
by the world here.
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DecodedWasm
impl Send for DecodedWasm
impl Sync for DecodedWasm
impl Unpin for DecodedWasm
impl UnwindSafe for DecodedWasm
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more