Enum primitives::storage::MptValue
source · pub enum MptValue<ValueType> {
None,
TombStone,
Some(ValueType),
}
Variants§
Implementations§
Trait Implementations§
source§impl<'a, ValueType: Deserialize<'a> + From<String>> Deserialize<'a> for MptValue<ValueType>
impl<'a, ValueType: Deserialize<'a> + From<String>> Deserialize<'a> for MptValue<ValueType>
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<ValueType: PartialEq> PartialEq for MptValue<ValueType>
impl<ValueType: PartialEq> PartialEq for MptValue<ValueType>
impl<ValueType> StructuralPartialEq for MptValue<ValueType>
Auto Trait Implementations§
impl<ValueType> RefUnwindSafe for MptValue<ValueType>where
ValueType: RefUnwindSafe,
impl<ValueType> Send for MptValue<ValueType>where
ValueType: Send,
impl<ValueType> Sync for MptValue<ValueType>where
ValueType: Sync,
impl<ValueType> Unpin for MptValue<ValueType>where
ValueType: Unpin,
impl<ValueType> UnwindSafe for MptValue<ValueType>where
ValueType: UnwindSafe,
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