Struct fuel_core::schema::dap::ConcreteStorage
source · pub struct ConcreteStorage { /* private fields */ }
Implementations§
source§impl ConcreteStorage
impl ConcreteStorage
pub fn new(params: ConsensusParameters) -> Self
pub fn register(&self, id: &ID, register: RegisterId) -> Option<Word>
pub fn memory(&self, id: &ID, start: usize, size: usize) -> Option<&[u8]>
pub fn init(&mut self, txs: &[Script], storage: DatabaseTransaction) -> Result<ID>
pub fn kill(&mut self, id: &ID) -> bool
pub fn reset(&mut self, id: &ID, storage: DatabaseTransaction) -> Result<()>
pub fn exec(&mut self, id: &ID, op: Opcode) -> Result<(), InterpreterError>
Trait Implementations§
source§impl Clone for ConcreteStorage
impl Clone for ConcreteStorage
source§fn clone(&self) -> ConcreteStorage
fn clone(&self) -> ConcreteStorage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConcreteStorage
impl Debug for ConcreteStorage
source§impl Default for ConcreteStorage
impl Default for ConcreteStorage
source§fn default() -> ConcreteStorage
fn default() -> ConcreteStorage
Returns the “default value” for a type. Read more