[][src]Enum substrate_primitives::sandbox::ExternEntity

pub enum ExternEntity {
    Function(u32),
    Memory(u32),
}

Describes an entity to define or import into the environment.

Variants

Function(u32)

Function that is specified by an index in a default table of a module that creates the sandbox.

Memory(u32)

Linear memory that is specified by some identifier returned by sandbox module upon creation new sandboxed memory.

Trait Implementations

impl Eq for ExternEntity[src]

impl Clone for ExternEntity[src]

impl PartialEq<ExternEntity> for ExternEntity[src]

impl Debug for ExternEntity[src]

impl Encode for ExternEntity[src]

impl Decode for ExternEntity[src]

Auto Trait Implementations

Blanket Implementations

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for 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.

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

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

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

impl<S> Codec for S where
    S: Encode + Decode
[src]

impl<T> KeyedVec for T where
    T: Codec
[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> MaybeDebug for T where
    T: Debug
[src]