Trait Device
Other items incameleon_genapi
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>>; }
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>>
impl<'a, T: 'a + Device + ?Sized> Device for &'a mut T
impl<T: Device + ?Sized> Device for Box<T>