abstract_std::objects::voting

Type Alias VoteResult

Source
pub type VoteResult<T> = Result<T, VoteError>;

Aliased Type§

enum VoteResult<T> {
    Ok(T),
    Err(VoteError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(VoteError)

Contains the error value