[][src]Struct wasmer_engine_jit::JITArtifact

pub struct JITArtifact { /* fields omitted */ }

A compiled wasm module, ready to be instantiated.


impl JITArtifact[src]

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

Check if the provided bytes look like a serialized JITArtifact.

pub fn new(_jit: &JITEngine, _data: &[u8]) -> Result<Self, CompileError>[src]

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

pub fn deserialize(
    jit: &JITEngine,
    bytes: &[u8]
) -> Result<Self, DeserializeError>

Deserialize a JITArtifact

pub fn from_parts(
    inner_jit: &mut JITEngineInner,
    serializable: SerializableModule
) -> Result<Self, CompileError>

Construct a JITArtifact from component parts.

pub fn get_default_extension(_triple: &Triple) -> &'static str[src]

Get the default extension when serializing this artifact

Trait Implementations

impl Artifact for JITArtifact[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.