Type Alias ProposalResult

Source
pub type ProposalResult<P>
where P: ProposalT,
= ProposedTxResult<P, <P as ProposalT>::Output>;
Expand description

The result of creating a Proposal. When a Proposal is executed in the same transaction as its creation, a ProposalResult::Executed is returned. ProposalResult::Pending otherwise.

Aliased Type§

pub enum ProposalResult<P>
where P: ProposalT,
{ Pending(P), Executed(<P as ProposalT>::Output), }

Variants§

§

Pending(P)

A proposed operation that has yet to be executed.

§

Executed(<P as ProposalT>::Output)

Execute proposal output.