pub enum CreatorVote {
Yes,
Deferred,
}Expand description
The creator’s intent at proposal submit time. Controls both the wire
shape and the local UI flow — see SessionRunner::initiate_proposal.
Variants§
Yes
Creator commits YES at submit. Vote is bundled with the proposal
in one atomic wire message; local UI gets OwnProposalSubmitted
(no banner). Used for unambiguous actions: ban-button click,
self-executing protocol moves (SCORE_BELOW_THRESHOLD, Deadlock).
Deferred
Creator hasn’t decided. Broadcast unbundled; local UI banners
alongside the auto-vote timer (liveness_criteria_yes after
voting_delay_for). Used for steward auto-propose paths where
the steward still exercises judgement.
Trait Implementations§
Source§impl Clone for CreatorVote
impl Clone for CreatorVote
Source§fn clone(&self) -> CreatorVote
fn clone(&self) -> CreatorVote
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreatorVote
impl Debug for CreatorVote
Source§impl PartialEq for CreatorVote
impl PartialEq for CreatorVote
Source§fn eq(&self, other: &CreatorVote) -> bool
fn eq(&self, other: &CreatorVote) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CreatorVote
impl Eq for CreatorVote
impl StructuralPartialEq for CreatorVote
Auto Trait Implementations§
impl Freeze for CreatorVote
impl RefUnwindSafe for CreatorVote
impl Send for CreatorVote
impl Sync for CreatorVote
impl Unpin for CreatorVote
impl UnsafeUnpin for CreatorVote
impl UnwindSafe for CreatorVote
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more