#[non_exhaustive]pub enum ActuationError {
SeatOutOfRange,
PassComplete,
SeatAlreadyAllocated,
SeatUnallocated,
SeatAlreadyActuated,
PassIncomplete,
}Expand description
A disabled actuation 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
A seat index is outside the admitted seat universe.
PassComplete
The pass has already committed closure.
SeatAlreadyAllocated
The seat already holds a resource.
SeatUnallocated
The seat holds no resource.
SeatAlreadyActuated
The seat has already committed its effect.
PassIncomplete
At least one allocated seat has not committed its effect.
Trait Implementations§
Source§impl Clone for ActuationError
impl Clone for ActuationError
Source§fn clone(&self) -> ActuationError
fn clone(&self) -> ActuationError
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 ActuationError
Source§impl Debug for ActuationError
impl Debug for ActuationError
Source§impl Display for ActuationError
impl Display for ActuationError
impl Eq for ActuationError
Source§impl Error for ActuationError
impl Error for ActuationError
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 ActuationError
impl PartialEq for ActuationError
impl StructuralPartialEq for ActuationError
Auto Trait Implementations§
impl Freeze for ActuationError
impl RefUnwindSafe for ActuationError
impl Send for ActuationError
impl Sync for ActuationError
impl Unpin for ActuationError
impl UnsafeUnpin for ActuationError
impl UnwindSafe for ActuationError
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