[][src]Enum sp_core::traits::MissingHostFunctions

pub enum MissingHostFunctions {

Allow or Disallow missing host functions when instantiating a WASM blob.



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,


impl MissingHostFunctions[src]

pub fn allowed(self) -> bool[src]

Are missing host functions allowed?

Trait Implementations

impl Clone for MissingHostFunctions[src]

impl Copy for MissingHostFunctions[src]

impl Debug for MissingHostFunctions[src]

Auto Trait Implementations

impl RefUnwindSafe for MissingHostFunctions[src]

impl Send for MissingHostFunctions[src]

impl Sync for MissingHostFunctions[src]

impl Unpin for MissingHostFunctions[src]

impl UnwindSafe for MissingHostFunctions[src]

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> DynClone for T where
    T: Clone

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

impl<T> Instrument for T[src]

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

impl<T, Outer> IsWrappedBy<Outer> for T where
    T: From<Outer>,
    Outer: AsRef<T> + AsMut<T> + From<T>, 

pub fn from_ref(&Outer) -> &T[src]

Get a reference to the inner from the outer.

pub fn from_mut(&mut Outer) -> &mut T[src]

Get a mutable reference to the inner from the outer.

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

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.

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,