Enum paxakos::voting::Decision [−][src]
pub enum Decision<Y, N, A> {
Abstain(A),
Nay(N),
Yea(Y),
}
Expand description
Voting decision, either Yea
, Nay
or Abstain
.
Variants
Abstain, i.e. do not vote at all.
Nay, i.e. vote ‘no’.
Yea, i.e. vote ‘yes’.
Auto Trait Implementations
impl<Y, N, A> RefUnwindSafe for Decision<Y, N, A> where
A: RefUnwindSafe,
N: RefUnwindSafe,
Y: RefUnwindSafe,
impl<Y, N, A> UnwindSafe for Decision<Y, N, A> where
A: UnwindSafe,
N: UnwindSafe,
Y: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more