Enum StateMatchError
#[non_exhaustive]pub enum StateMatchError {
UnknownProperty(u32),
InvalidValue(u32),
}Expand description
An invalid constraint, identifying its index in the supplied list.
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.
UnknownProperty(u32)
The definition has no such property.
InvalidValue(u32)
The property does not admit this value.
Trait Implementations§
§impl Clone for StateMatchError
impl Clone for StateMatchError
§fn clone(&self) -> StateMatchError
fn clone(&self) -> StateMatchError
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 StateMatchError
§impl Debug for StateMatchError
impl Debug for StateMatchError
impl Eq for StateMatchError
§impl PartialEq for StateMatchError
impl PartialEq for StateMatchError
impl StructuralPartialEq for StateMatchError
Auto Trait Implementations§
impl Freeze for StateMatchError
impl RefUnwindSafe for StateMatchError
impl Send for StateMatchError
impl Sync for StateMatchError
impl Unpin for StateMatchError
impl UnsafeUnpin for StateMatchError
impl UnwindSafe for StateMatchError
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