Enum wasmer_package::package::manifest::RunnerKind
source · enum RunnerKind {
Wasi,
Wcgi,
Wasm4,
Other(Url),
}
Variants§
Implementations§
source§impl RunnerKind
impl RunnerKind
fn from_name(name: &str) -> Result<Self, ManifestError>
fn uri(&self) -> &str
fn runner_specific_annotations( &self, annotations: &mut IndexMap<String, Value>, module: &ModuleReference, package: Option<String>, main_args: Option<Vec<String>>, ) -> Result<(), ManifestError>
Trait Implementations§
source§impl Clone for RunnerKind
impl Clone for RunnerKind
source§fn clone(&self) -> RunnerKind
fn clone(&self) -> RunnerKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RunnerKind
impl Debug for RunnerKind
source§impl PartialEq for RunnerKind
impl PartialEq for RunnerKind
source§fn eq(&self, other: &RunnerKind) -> bool
fn eq(&self, other: &RunnerKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RunnerKind
Auto Trait Implementations§
impl Freeze for RunnerKind
impl RefUnwindSafe for RunnerKind
impl Send for RunnerKind
impl Sync for RunnerKind
impl Unpin for RunnerKind
impl UnwindSafe for RunnerKind
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.