Enum casper_types::Transform[][src]

pub enum Transform {
    Identity,
    WriteCLValue(CLValue),
    WriteAccount(AccountHash),
    WriteContractWasm,
    WriteContract,
    WriteContractPackage,
    WriteDeployInfo(DeployInfo),
    WriteEraInfo(EraInfo),
    WriteTransfer(Transfer),
    AddInt32(i32),
    AddUInt64(u64),
    AddUInt128(U128),
    AddUInt256(U256),
    AddUInt512(U512),
    AddKeys(Vec<NamedKey>),
    Failure(String),
}

The actual transformation performed while executing a deploy.

Variants

Identity

A transform having no effect.

WriteCLValue(CLValue)

Writes the given CLValue to global state.

WriteAccount(AccountHash)

Writes the given Account to global state.

WriteContractWasm

Writes a smart contract as Wasm to global state.

WriteContract

Writes a smart contract to global state.

WriteContractPackage

Writes a smart contract package to global state.

WriteDeployInfo(DeployInfo)

Writes the given DeployInfo to global state.

WriteEraInfo(EraInfo)

Writes the given EraInfo to global state.

WriteTransfer(Transfer)

Writes the given Transfer to global state.

AddInt32(i32)

Adds the given i32.

AddUInt64(u64)

Adds the given u64.

AddUInt128(U128)

Adds the given U128.

AddUInt256(U256)

Adds the given U256.

AddUInt512(U512)

Adds the given U512.

AddKeys(Vec<NamedKey>)

Adds the given collection of named keys.

Failure(String)

A failed transformation, containing an error message.

Trait Implementations

impl Clone for Transform[src]

impl Debug for Transform[src]

impl<'de> Deserialize<'de> for Transform[src]

impl Eq for Transform[src]

impl FromBytes for Transform[src]

impl PartialEq<Transform> for Transform[src]

impl Serialize for Transform[src]

impl StructuralEq for Transform[src]

impl StructuralPartialEq for Transform[src]

impl ToBytes for Transform[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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>,