pub trait Action<Cont: ?Sized> {
    type Output;

    fn execute(self, contract: &mut Cont) -> Self::Output;
}
Expand description

Actions can be executed after they are approved

Required Associated Types§

Return type of the action. Useful if the action creates a Promise, for example.

Required Methods§

Perform the action. One time only.

Implementors§