pub trait IPort {
    // Required methods
    fn read<T: ValueStore, U: CacheStore>(
        &self,
        address: i64,
        buf: &mut [u8],
        device: &mut impl Device,
        store: &impl NodeStore,
        cx: &mut ValueCtxt<T, U>
    ) -> GenApiResult<()>;
    fn write<T: ValueStore, U: CacheStore>(
        &self,
        address: i64,
        buf: &[u8],
        device: &mut impl Device,
        store: &impl NodeStore,
        cx: &mut ValueCtxt<T, U>
    ) -> GenApiResult<()>;
}

Required Methods§

source

fn read<T: ValueStore, U: CacheStore>( &self, address: i64, buf: &mut [u8], device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<()>

source

fn write<T: ValueStore, U: CacheStore>( &self, address: i64, buf: &[u8], device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<()>

Implementors§