#[non_exhaustive]pub enum SelectThenActuateError {
SeatOutOfRange,
CandidateOutOfRange,
PassComplete,
SeatAlreadyAllocated,
EffectAlreadyApplied,
SeatNotAllocated,
SeatAlreadyActuated,
PassNotReady,
}Expand description
A disabled select-then-actuate transition.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SeatOutOfRange
The seat index is outside the configured seat universe.
CandidateOutOfRange
The candidate index is outside the configured candidate universe.
PassComplete
The pass has already committed its closure transition.
SeatAlreadyAllocated
The seat already has a selected allocation.
EffectAlreadyApplied
A score cannot change after the seat’s effect has been applied.
SeatNotAllocated
The seat has no selected allocation to actuate.
SeatAlreadyActuated
The seat’s selected allocation has already been actuated.
PassNotReady
At least one allocated seat still awaits actuation.
Trait Implementations§
Source§impl Clone for SelectThenActuateError
impl Clone for SelectThenActuateError
Source§fn clone(&self) -> SelectThenActuateError
fn clone(&self) -> SelectThenActuateError
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 moreimpl Copy for SelectThenActuateError
Source§impl Debug for SelectThenActuateError
impl Debug for SelectThenActuateError
Source§impl Display for SelectThenActuateError
impl Display for SelectThenActuateError
impl Eq for SelectThenActuateError
Source§impl Error for SelectThenActuateError
impl Error for SelectThenActuateError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for SelectThenActuateError
impl PartialEq for SelectThenActuateError
impl StructuralPartialEq for SelectThenActuateError
Auto Trait Implementations§
impl Freeze for SelectThenActuateError
impl RefUnwindSafe for SelectThenActuateError
impl Send for SelectThenActuateError
impl Sync for SelectThenActuateError
impl Unpin for SelectThenActuateError
impl UnsafeUnpin for SelectThenActuateError
impl UnwindSafe for SelectThenActuateError
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