[−][src]Enum casper_execution_engine::shared::stored_value::StoredValue
Variants
CLValue(CLValue)
Account(Account)
ContractWasm(ContractWasm)
Contract(Contract)
ContractPackage(ContractPackage)
Transfer(Transfer)
DeployInfo(DeployInfo)
Implementations
impl StoredValue
[src]
pub fn as_cl_value(&self) -> Option<&CLValue>
[src]
pub fn as_account(&self) -> Option<&Account>
[src]
pub fn as_contract(&self) -> Option<&Contract>
[src]
pub fn as_contract_wasm(&self) -> Option<&ContractWasm>
[src]
pub fn as_contract_package(&self) -> Option<&ContractPackage>
[src]
pub fn type_name(&self) -> String
[src]
Trait Implementations
impl Clone for StoredValue
[src]
pub fn clone(&self) -> StoredValue
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for StoredValue
[src]
impl Eq for StoredValue
[src]
impl From<Account> for StoredValue
[src]
pub fn from(value: Account) -> StoredValue
[src]
impl From<CLValue> for StoredValue
[src]
pub fn from(value: CLValue) -> StoredValue
[src]
impl From<Contract> for StoredValue
[src]
pub fn from(value: Contract) -> StoredValue
[src]
impl From<ContractPackage> for StoredValue
[src]
pub fn from(value: ContractPackage) -> StoredValue
[src]
impl From<ContractWasm> for StoredValue
[src]
pub fn from(value: ContractWasm) -> StoredValue
[src]
impl From<StoredValue> for Transform
[src]
pub fn from(x: StoredValue) -> Self
[src]
impl FromBytes for StoredValue
[src]
pub fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error>
[src]
pub fn from_vec(
bytes: Vec<u8, Global>
) -> Result<(Self, Vec<u8, Global>), Error>
[src]
bytes: Vec<u8, Global>
) -> Result<(Self, Vec<u8, Global>), Error>
impl PartialEq<StoredValue> for StoredValue
[src]
pub fn eq(&self, other: &StoredValue) -> bool
[src]
pub fn ne(&self, other: &StoredValue) -> bool
[src]
impl StateReader<Key, StoredValue> for InMemoryGlobalStateView
[src]
type Error = Error
An error which occurs when reading state
pub fn read(
&self,
correlation_id: CorrelationId,
key: &Key
) -> Result<Option<StoredValue>, Self::Error>
[src]
&self,
correlation_id: CorrelationId,
key: &Key
) -> Result<Option<StoredValue>, Self::Error>
pub fn read_with_proof(
&self,
correlation_id: CorrelationId,
key: &Key
) -> Result<Option<TrieMerkleProof<Key, StoredValue>>, Self::Error>
[src]
&self,
correlation_id: CorrelationId,
key: &Key
) -> Result<Option<TrieMerkleProof<Key, StoredValue>>, Self::Error>
impl StateReader<Key, StoredValue> for LmdbGlobalStateView
[src]
type Error = Error
An error which occurs when reading state
pub fn read(
&self,
correlation_id: CorrelationId,
key: &Key
) -> Result<Option<StoredValue>, Self::Error>
[src]
&self,
correlation_id: CorrelationId,
key: &Key
) -> Result<Option<StoredValue>, Self::Error>
pub fn read_with_proof(
&self,
correlation_id: CorrelationId,
key: &Key
) -> Result<Option<TrieMerkleProof<Key, StoredValue>>, Self::Error>
[src]
&self,
correlation_id: CorrelationId,
key: &Key
) -> Result<Option<TrieMerkleProof<Key, StoredValue>>, Self::Error>
impl StructuralEq for StoredValue
[src]
impl StructuralPartialEq for StoredValue
[src]
impl ToBytes for StoredValue
[src]
pub fn to_bytes(&self) -> Result<Vec<u8>, Error>
[src]
pub fn serialized_length(&self) -> usize
[src]
pub fn into_bytes(self) -> Result<Vec<u8, Global>, Error>
[src]
impl TryFrom<StoredValue> for CLValue
[src]
type Error = TypeMismatch
The type returned in the event of a conversion error.
pub fn try_from(stored_value: StoredValue) -> Result<Self, Self::Error>
[src]
impl TryFrom<StoredValue> for Account
[src]
type Error = TypeMismatch
The type returned in the event of a conversion error.
pub fn try_from(stored_value: StoredValue) -> Result<Self, Self::Error>
[src]
impl TryFrom<StoredValue> for ContractWasm
[src]
type Error = TypeMismatch
The type returned in the event of a conversion error.
pub fn try_from(stored_value: StoredValue) -> Result<Self, Self::Error>
[src]
impl TryFrom<StoredValue> for ContractPackage
[src]
type Error = TypeMismatch
The type returned in the event of a conversion error.
pub fn try_from(stored_value: StoredValue) -> Result<Self, Self::Error>
[src]
impl TryFrom<StoredValue> for Contract
[src]
type Error = TypeMismatch
The type returned in the event of a conversion error.
pub fn try_from(stored_value: StoredValue) -> Result<Self, Self::Error>
[src]
impl TryFrom<StoredValue> for Transfer
[src]
type Error = TypeMismatch
The type returned in the event of a conversion error.
pub fn try_from(value: StoredValue) -> Result<Self, Self::Error>
[src]
impl TryFrom<StoredValue> for DeployInfo
[src]
type Error = TypeMismatch
The type returned in the event of a conversion error.
pub fn try_from(value: StoredValue) -> Result<Self, Self::Error>
[src]
impl TryFrom<Transform> for StoredValue
[src]
Auto Trait Implementations
impl RefUnwindSafe for StoredValue
[src]
impl Send for StoredValue
[src]
impl Sync for StoredValue
[src]
impl Unpin for StoredValue
[src]
impl UnwindSafe for StoredValue
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,