[][src]Enum casper_types::ExecutionResult

pub enum ExecutionResult {
    Failure {
        effect: ExecutionEffect,
        transfers: Vec<TransferAddr>,
        cost: U512,
        error_message: String,
    },
    Success {
        effect: ExecutionEffect,
        transfers: Vec<TransferAddr>,
        cost: U512,
    },
}

The result of executing a single deploy.

Variants

Failure

The result of a failed execution.

Fields of Failure

effect: ExecutionEffect

The effect of executing the deploy.

transfers: Vec<TransferAddr>

A record of Transfers performed while executing the deploy.

cost: U512

The cost of executing the deploy.

error_message: String

The error message associated with executing the deploy.

Success

The result of a successful execution.

Fields of Success

effect: ExecutionEffect

The effect of executing the deploy.

transfers: Vec<TransferAddr>

A record of Transfers performed while executing the deploy.

cost: U512

The cost of executing the deploy.

Trait Implementations

impl Clone for ExecutionResult[src]

impl Debug for ExecutionResult[src]

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

impl Distribution<ExecutionResult> for Standard[src]

impl Eq for ExecutionResult[src]

impl FromBytes for ExecutionResult[src]

impl PartialEq<ExecutionResult> for ExecutionResult[src]

impl Serialize for ExecutionResult[src]

impl StructuralEq for ExecutionResult[src]

impl StructuralPartialEq for ExecutionResult[src]

impl ToBytes for ExecutionResult[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>,