Skip to main content

RuntimeEnv

Trait RuntimeEnv 

pub trait RuntimeEnv:
    Send
    + Sync
    + Clone {
    // Required methods
    fn sequencer(&self) -> Option<&Sequencer>;
    fn get_lyquid_id(&self) -> LyquidID;
    fn get_node_id(&self) -> NodeID;
}

Required Methods§

fn sequencer(&self) -> Option<&Sequencer>

fn get_lyquid_id(&self) -> LyquidID

fn get_node_id(&self) -> NodeID

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.

Implementors§

§

impl RuntimeEnv for Env