Skip to main content

HostIO

Trait HostIO 

Source
pub trait HostIO: Debug {
    // Required method
    fn syscall(
        &mut self,
        code: u32,
        cpu: &mut NativeCpu<Self>,
    ) -> Result<usize, ExecutionError>
       where Self: Sized;
}

Required Methods§

Source

fn syscall( &mut self, code: u32, cpu: &mut NativeCpu<Self>, ) -> Result<usize, ExecutionError>
where Self: Sized,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§