Trait ckb_vm::syscalls::Syscalls

source ·
pub trait Syscalls<Mac: SupportMachine>: Send + Sync {
    // Required methods
    fn initialize(&mut self, machine: &mut Mac) -> Result<(), Error>;
    fn ecall(&mut self, machine: &mut Mac) -> Result<bool, Error>;
}

Required Methods§

source

fn initialize(&mut self, machine: &mut Mac) -> Result<(), Error>

source

fn ecall(&mut self, machine: &mut Mac) -> Result<bool, Error>

Implementors§