[−][src]Struct wasmer_engine_dummy::DummyEngine
A WebAssembly Dummy
Engine.
Implementations
impl DummyEngine
[src]
Trait Implementations
impl Clone for DummyEngine
[src]
fn clone(&self) -> DummyEngine
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Engine for DummyEngine
[src]
fn target(&self) -> &Target
[src]
Get the tunables
fn register_signature(&self, func_type: &FunctionType) -> VMSharedSignatureIndex
[src]
Register a signature
fn lookup_signature(&self, sig: VMSharedSignatureIndex) -> Option<FunctionType>
[src]
Lookup a signature
fn function_call_trampoline(
&self,
_sig: VMSharedSignatureIndex
) -> Option<VMTrampoline>
[src]
&self,
_sig: VMSharedSignatureIndex
) -> Option<VMTrampoline>
Retrieves a trampoline given a signature
fn validate(&self, binary: &[u8]) -> Result<(), CompileError>
[src]
Validates a WebAssembly module
fn compile(
&self,
binary: &[u8],
tunables: &dyn Tunables
) -> Result<Arc<dyn Artifact>, CompileError>
[src]
&self,
binary: &[u8],
tunables: &dyn Tunables
) -> Result<Arc<dyn Artifact>, CompileError>
Compile a WebAssembly binary
unsafe fn deserialize(
&self,
bytes: &[u8]
) -> Result<Arc<dyn Artifact>, DeserializeError>
[src]
&self,
bytes: &[u8]
) -> Result<Arc<dyn Artifact>, DeserializeError>
Deserializes a WebAssembly module (binary content of a Shared Object file)
fn id(&self) -> &EngineId
[src]
fn cloned(&self) -> Arc<dyn Engine + Send + Sync>
[src]
unsafe fn deserialize_from_file(
&self,
file_ref: &Path
) -> Result<Arc<dyn Artifact + 'static>, DeserializeError>
[src]
&self,
file_ref: &Path
) -> Result<Arc<dyn Artifact + 'static>, DeserializeError>
Auto Trait Implementations
impl RefUnwindSafe for DummyEngine
impl Send for DummyEngine
impl Sync for DummyEngine
impl Unpin for DummyEngine
impl UnwindSafe for DummyEngine
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,