Struct concordium_std::Action[][src]

pub struct Action { /* fields omitted */ }
Expand description

Actions that can be produced at the end of a contract execution. This type is deliberately not cloneable so that we can enforce that and_then and or_else can only be used when more than one event is created.

This type is marked as must_use since functions that produce values of the type are effectful.

Implementations

Trait Implementations

#Implementation of actions. These actions are implemented by direct calls to host functions.

Default accept action.

Send a given amount to an account.

Send a message to a contract.

If the execution of the first action succeeds, run the second action as well. Read more

If the execution of the first action fails, try the second.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.