#[non_exhaustive]pub enum CardKindError {
InvalidName,
Reserved,
}Expand description
Reason validate_composable_kind rejected a kind string.
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.
InvalidName
Kind did not match [a-z_][a-z0-9_]*.
Reserved
Kind was "main", reserved for the document root.
Trait Implementations§
Source§impl Clone for CardKindError
impl Clone for CardKindError
Source§fn clone(&self) -> CardKindError
fn clone(&self) -> CardKindError
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 CardKindError
Source§impl Debug for CardKindError
impl Debug for CardKindError
impl Eq for CardKindError
Source§impl PartialEq for CardKindError
impl PartialEq for CardKindError
impl StructuralPartialEq for CardKindError
Auto Trait Implementations§
impl Freeze for CardKindError
impl RefUnwindSafe for CardKindError
impl Send for CardKindError
impl Sync for CardKindError
impl Unpin for CardKindError
impl UnsafeUnpin for CardKindError
impl UnwindSafe for CardKindError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.