Trait wasmer_runtime_core_fl::table::StorableInTable[][src]

pub trait StorableInTable: Sized {
    fn unwrap_self(
        storage: &TableStorage,
        index: u32
    ) -> Result<Self, TableAccessError>;
fn wrap_self(
        self,
        storage: &mut TableStorage,
        index: u32
    ) -> Result<(), TableAccessError>; }
Expand description

Trait indicates types that can be stored in tables

Required methods

Attempt to lookup self in the given table.

Wrap value to be stored in a table.

Implementors