pub enum CatalogIdError {
OutOfRange {
kind: TypeIdKind,
value: u32,
},
ConflictingTags {
encoded: u32,
},
WrongDomain {
expected: TypeIdKind,
actual: TypeIdKind,
},
}Expand description
A malformed identity or an attempted use in the wrong identity domain.
Variants§
OutOfRange
A local identity does not fit its existing serialized domain.
ConflictingTags
Both reserved type-domain bits are set.
WrongDomain
An entity/relation-specific field received the opposite runtime domain.
Fields
§
expected: TypeIdKindRuntime domain allowed by the destination field.
§
actual: TypeIdKindDomain supplied by the input.
Trait Implementations§
Source§impl Clone for CatalogIdError
impl Clone for CatalogIdError
impl Copy for CatalogIdError
Source§impl Debug for CatalogIdError
impl Debug for CatalogIdError
Source§impl Display for CatalogIdError
impl Display for CatalogIdError
impl Eq for CatalogIdError
Source§impl Error for CatalogIdError
impl Error for CatalogIdError
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 CatalogIdError
impl PartialEq for CatalogIdError
impl StructuralPartialEq for CatalogIdError
Auto Trait Implementations§
impl Freeze for CatalogIdError
impl RefUnwindSafe for CatalogIdError
impl Send for CatalogIdError
impl Sync for CatalogIdError
impl Unpin for CatalogIdError
impl UnsafeUnpin for CatalogIdError
impl UnwindSafe for CatalogIdError
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.