Struct mc_oblivious_traits::HeapORAMStorage
source · pub struct HeapORAMStorage<BlockSize: ArrayLength<u8>, MetaSize: ArrayLength<u8>> { /* private fields */ }
Expand description
The HeapORAMStorage is simply vector
Implementations§
source§impl<BlockSize: ArrayLength<u8>, MetaSize: ArrayLength<u8>> HeapORAMStorage<BlockSize, MetaSize>
impl<BlockSize: ArrayLength<u8>, MetaSize: ArrayLength<u8>> HeapORAMStorage<BlockSize, MetaSize>
Trait Implementations§
source§impl<BlockSize: ArrayLength<u8>, MetaSize: ArrayLength<u8>> ORAMStorage<BlockSize, MetaSize> for HeapORAMStorage<BlockSize, MetaSize>
impl<BlockSize: ArrayLength<u8>, MetaSize: ArrayLength<u8>> ORAMStorage<BlockSize, MetaSize> for HeapORAMStorage<BlockSize, MetaSize>
source§fn len(&self) -> u64
fn len(&self) -> u64
Get the number of blocks represented by this block storage
This is also the bound of the largest valid index