Skip to main content

SystemInstructions

Trait SystemInstructions 

Source
pub trait SystemInstructions: Sized {
    // Required methods
    fn ecall(&mut self);
    fn unimp(&mut self);
}

Required Methods§

Source

fn ecall(&mut self)

Transfer control to the operating system.

Source

fn unimp(&mut self)

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§