pub enum TypeQueryError {
Missing(TypeId, TypeId),
WrongType(TypeId, TypeId, TypeId),
}
Variants§
Trait Implementations§
Source§impl Debug for TypeQueryError
impl Debug for TypeQueryError
Source§impl Display for TypeQueryError
impl Display for TypeQueryError
Source§impl Error for TypeQueryError
impl Error for TypeQueryError
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 TypeQueryError
impl PartialEq for TypeQueryError
impl StructuralPartialEq for TypeQueryError
Auto Trait Implementations§
impl Freeze for TypeQueryError
impl RefUnwindSafe for TypeQueryError
impl Send for TypeQueryError
impl Sync for TypeQueryError
impl Unpin for TypeQueryError
impl UnwindSafe for TypeQueryError
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