Struct fuel_core::database::storage::ContractsStateMerkleData
source · pub struct ContractsStateMerkleData;
Expand description
The table of SMT data for Contract state.
Trait Implementations§
source§impl Mappable for ContractsStateMerkleData
impl Mappable for ContractsStateMerkleData
§type Key = [u8; 32]
type Key = [u8; 32]
The key type is used during interaction with the storage. In most cases, it is the same
as
Self::OwnedKey
.§type OwnedKey = <ContractsStateMerkleData as Mappable>::Key
type OwnedKey = <ContractsStateMerkleData as Mappable>::Key
The owned type of the
Key
retrieving from the storage.§type Value = (u32, u8, [u8; 32], [u8; 32])
type Value = (u32, u8, [u8; 32], [u8; 32])
The value type is used while setting the value to the storage. In most cases, it is the same
as
Self::OwnedValue
, but it is without restriction and can be used for performance
optimizations.§type OwnedValue = <ContractsStateMerkleData as Mappable>::Value
type OwnedValue = <ContractsStateMerkleData as Mappable>::Value
The owned type of the
Value
retrieving from the storage.Auto Trait Implementations§
impl RefUnwindSafe for ContractsStateMerkleData
impl Send for ContractsStateMerkleData
impl Sync for ContractsStateMerkleData
impl Unpin for ContractsStateMerkleData
impl UnwindSafe for ContractsStateMerkleData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more