[−][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]
fn clone(&self) -> StoredValue
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for StoredValue
[src]
impl Eq for StoredValue
[src]
impl From<StoredValue> for Transform
[src]
fn from(x: StoredValue) -> Self
[src]
impl FromBytes for StoredValue
[src]
fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error>
[src]
fn from_vec(bytes: Vec<u8>) -> Result<(Self, Vec<u8>), Error>
[src]
impl PartialEq<StoredValue> for StoredValue
[src]
fn eq(&self, other: &StoredValue) -> bool
[src]
fn ne(&self, other: &StoredValue) -> bool
[src]
impl StateReader<Key, StoredValue> for InMemoryGlobalStateView
[src]
type Error = Error
An error which occurs when reading state
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>
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
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>
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]
fn to_bytes(&self) -> Result<Vec<u8>, Error>
[src]
fn serialized_length(&self) -> usize
[src]
fn into_bytes(self) -> Result<Vec<u8>, Error>
[src]
impl TryFrom<StoredValue> for CLValue
[src]
type Error = TypeMismatch
The type returned in the event of a conversion error.
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.
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.
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.
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.
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.
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.
fn try_from(value: StoredValue) -> Result<Self, Self::Error>
[src]
impl TryFrom<Transform> for StoredValue
[src]
Auto Trait Implementations
impl RefUnwindSafe for StoredValue
impl Send for StoredValue
impl Sync for StoredValue
impl Unpin for StoredValue
impl UnwindSafe for StoredValue
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> From<T> for T
[src]
impl<T> FromBits<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
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>,