Trait cameleon_genapi::Device[][src]

pub trait Device {
    fn read_mem(
        &mut self,
        address: i64,
        buf: &mut [u8]
    ) -> Result<(), Box<dyn Error>>;
fn write_mem(
        &mut self,
        address: i64,
        data: &[u8]
    ) -> Result<(), Box<dyn Error>>; }

Required methods

Implementations on Foreign Types

Implementors