Enum dao_testing::tests::ShouldExecute
source · pub enum ShouldExecute {
Yes,
No,
Meh,
}Expand description
If a test vote should execute. Used for fuzzing and checking that votes after a proposal has completed aren’t allowed.
Variants§
Auto Trait Implementations§
impl Freeze for ShouldExecute
impl RefUnwindSafe for ShouldExecute
impl Send for ShouldExecute
impl Sync for ShouldExecute
impl Unpin for ShouldExecute
impl UnwindSafe for ShouldExecute
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> 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