Enum sp_core::traits::MissingHostFunctions [−][src]
pub enum MissingHostFunctions {
Allow,
Disallow,
}Allow or Disallow missing host functions when instantiating a WASM blob.
Variants
Any missing host function will be replaced by a stub that returns an error when being called.
Any missing host function will result in an error while instantiating the WASM blob,
Implementations
Trait Implementations
impl Clone for MissingHostFunctions[src]
impl Clone for MissingHostFunctions[src]fn clone(&self) -> MissingHostFunctions[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for MissingHostFunctions[src]
Auto Trait Implementations
impl RefUnwindSafe for MissingHostFunctions
impl Send for MissingHostFunctions
impl Sync for MissingHostFunctions
impl Unpin for MissingHostFunctions
impl UnwindSafe for MissingHostFunctions
Blanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>, [src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>, [src]impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>, [src]
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>, [src]pub fn unchecked_into(Self) -> T[src]
impl<T> MaybeDebug for T where
T: Debug, [src]
T: Debug,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe, [src]
T: RefUnwindSafe,