#[non_exhaustive]pub enum PrimitiveRegistryError {
DuplicateName {
name: String,
},
}Expand description
Error returned when building a PrimitiveRegistry.
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.
DuplicateName
Two primitives were registered under the same name.
Trait Implementations§
Source§impl Clone for PrimitiveRegistryError
impl Clone for PrimitiveRegistryError
Source§impl Debug for PrimitiveRegistryError
impl Debug for PrimitiveRegistryError
impl Eq for PrimitiveRegistryError
Source§impl PartialEq for PrimitiveRegistryError
impl PartialEq for PrimitiveRegistryError
impl StructuralPartialEq for PrimitiveRegistryError
Auto Trait Implementations§
impl Freeze for PrimitiveRegistryError
impl RefUnwindSafe for PrimitiveRegistryError
impl Send for PrimitiveRegistryError
impl Sync for PrimitiveRegistryError
impl Unpin for PrimitiveRegistryError
impl UnsafeUnpin for PrimitiveRegistryError
impl UnwindSafe for PrimitiveRegistryError
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