pub enum StorageExtra {
None,
DictHash(HashBytes),
}Expand description
Storage state extra
Variants§
Trait Implementations§
Source§impl Clone for StorageExtra
impl Clone for StorageExtra
Source§fn clone(&self) -> StorageExtra
fn clone(&self) -> StorageExtra
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StorageExtra
impl Debug for StorageExtra
Source§impl Default for StorageExtra
impl Default for StorageExtra
Source§fn default() -> StorageExtra
fn default() -> StorageExtra
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StorageExtra
impl<'de> Deserialize<'de> for StorageExtra
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a> Load<'a> for StorageExtra
impl<'a> Load<'a> for StorageExtra
Source§impl PartialEq for StorageExtra
impl PartialEq for StorageExtra
Source§impl Serialize for StorageExtra
impl Serialize for StorageExtra
Source§impl Store for StorageExtra
impl Store for StorageExtra
Source§fn store_into(
&self,
builder: &mut CellBuilder,
_: &dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, _: &dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Copy for StorageExtra
impl Eq for StorageExtra
impl StructuralPartialEq for StorageExtra
Auto Trait Implementations§
impl Freeze for StorageExtra
impl RefUnwindSafe for StorageExtra
impl Send for StorageExtra
impl Sync for StorageExtra
impl Unpin for StorageExtra
impl UnwindSafe for StorageExtra
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.