Struct dao::rules::validation::voting::VotingNotCompleted
source · pub struct VotingNotCompleted {}
Expand description
Verifies voting is still in progress. May return Error::VotingAlreadyFinished.
Implementations§
Trait Implementations§
source§impl VotingValidation for VotingNotCompleted
impl VotingValidation for VotingNotCompleted
source§fn validate(
&self,
voting_state_machine: &VotingStateMachine,
_configuration: &Configuration
) -> Result<(), Error>
fn validate( &self, voting_state_machine: &VotingStateMachine, _configuration: &Configuration ) -> Result<(), Error>
Returns the result of validation.
Auto Trait Implementations§
impl RefUnwindSafe for VotingNotCompleted
impl Send for VotingNotCompleted
impl Sync for VotingNotCompleted
impl Unpin for VotingNotCompleted
impl UnwindSafe for VotingNotCompleted
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