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 one or more binary-encoded WIT package(s).
The full resolve graph is here plus the identifier of the packages that were encoded. Note that other packages may be within the resolve if any of the main packages refer to other, 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 Freeze for DecodedWasm
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