Trait RuntimeEnv

pub trait RuntimeEnv:
    Send
    + Sync
    + Clone {
    // Required methods
    fn set_chain_pos(&self, pos: ChainPos);
    fn get_chain_pos(&self) -> ChainPos;
    fn inter_call(&self) -> Option<&InterCallSys>;
}

Required Methods§

fn set_chain_pos(&self, pos: ChainPos)

fn get_chain_pos(&self) -> ChainPos

fn inter_call(&self) -> Option<&InterCallSys>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

§

impl RuntimeEnv for ()

§

fn set_chain_pos(&self, _: ChainPos)

§

fn get_chain_pos(&self) -> ChainPos

§

fn inter_call(&self) -> Option<&InterCallSys>

Implementors§

§

impl RuntimeEnv for Env