[][src]Trait sunshine_util::traits::GetVoteOutcome

pub trait GetVoteOutcome {
    type VoteId: Into<u32> + From<u32>;
    type Outcome: Approved;
    fn get_vote_outcome(
        vote_id: Self::VoteId
    ) -> Result<Self::Outcome, DispatchError>; }

Retrieves the outcome of a vote associated with the vote identifier vote_id

Associated Types

Loading content...

Required methods

fn get_vote_outcome(
    vote_id: Self::VoteId
) -> Result<Self::Outcome, DispatchError>

Loading content...

Implementors

Loading content...