Trait ceres_support::traits::Frame[][src]

pub trait Frame<Memory: 'static + Clone>: Cache<Memory> {
    fn active(&self) -> Option<[u8; 32]> { ... }
fn active_set(&self, key: [u8; 32], value: Vec<u8>) -> Option<Vec<u8>> { ... }
fn active_get(&self, key: &[u8]) -> Option<Vec<u8>> { ... }
fn push(&mut self, code_hash: [u8; 32], memory: Memory) { ... }
fn switch(&mut self, code_hash: [u8; 32]) -> Option<()> { ... }
fn back(&mut self) -> Option<()> { ... }
fn top(&mut self) -> Option<()> { ... } }
Expand description

WASM execution frame

Provided methods

Implementors