[][src]Struct wasmer_engine_dummy::DummyArtifact

pub struct DummyArtifact { /* fields omitted */ }

A Dummy artifact.

This artifact will point to fake finished functions and trampolines as no functions are really compiled.

Implementations

impl DummyArtifact[src]

pub fn is_deserializable(bytes: &[u8]) -> bool[src]

Check if the provided bytes look like a serialized DummyArtifact.

pub fn new(
    engine: &DummyEngine,
    data: &[u8],
    tunables: &dyn Tunables
) -> Result<Self, CompileError>
[src]

Compile a data buffer into a DummyArtifact, which may then be instantiated.

pub fn deserialize(
    engine: &DummyEngine,
    bytes: &[u8]
) -> Result<Self, DeserializeError>
[src]

Deserialize a DummyArtifact

pub fn from_parts(
    engine: &DummyEngine,
    metadata: DummyArtifactMetadata
) -> Result<Self, CompileError>
[src]

Construct a DummyArtifact from component parts.

Trait Implementations

impl Artifact for DummyArtifact[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.