[][src]Enum casperlabs_engine_shared::stored_value::StoredValue

pub enum StoredValue {
    CLValue(CLValue),
    Account(Account),
    Contract(Contract),
}

Variants

CLValue(CLValue)
Account(Account)
Contract(Contract)

Methods

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 type_name(&self) -> String[src]

Trait Implementations

impl Clone for StoredValue[src]

impl Debug for StoredValue[src]

impl Eq for StoredValue[src]

impl From<StoredValue> for Transform[src]

impl FromBytes for StoredValue[src]

impl PartialEq<StoredValue> for StoredValue[src]

impl StructuralEq for StoredValue[src]

impl StructuralPartialEq for StoredValue[src]

impl ToBytes for StoredValue[src]

impl TryFrom<StoredValue> for CLValue[src]

type Error = TypeMismatch

The type returned in the event of a conversion error.

impl TryFrom<StoredValue> for Account[src]

type Error = TypeMismatch

The type returned in the event of a conversion error.

impl TryFrom<StoredValue> for Contract[src]

type Error = TypeMismatch

The type returned in the event of a conversion error.

impl TryFrom<Transform> for StoredValue[src]

type Error = String

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,