pub struct EngineRef<'a> { /* private fields */ }
Expand description
A temporary handle to an Engine
EngineRef can be used to build a [Module
][wasmer::Module]
It can be created directly with an Engine
Or from anything implementing AsEngineRef
like from [Store
][wasmer::Store] typicaly
Implementations§
Trait Implementations§
source§impl AsEngineRef for EngineRef<'_>
impl AsEngineRef for EngineRef<'_>
source§fn as_engine_ref(&self) -> EngineRef<'_>
fn as_engine_ref(&self) -> EngineRef<'_>
Returns a
EngineRef
pointing to the underlying context.Auto Trait Implementations§
impl<'a> !RefUnwindSafe for EngineRef<'a>
impl<'a> Send for EngineRef<'a>
impl<'a> Sync for EngineRef<'a>
impl<'a> Unpin for EngineRef<'a>
impl<'a> !UnwindSafe for EngineRef<'a>
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.
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer