pub enum ReferencesError {
InvalidFunctionDeclaration(Function),
InvalidReferenceTypeForArgument,
UnknownType(ConcreteTypeId),
}
Variants§
Trait Implementations§
source§impl Debug for ReferencesError
impl Debug for ReferencesError
source§impl Display for ReferencesError
impl Display for ReferencesError
source§impl Error for ReferencesError
impl Error for ReferencesError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<ReferencesError> for ReferencesError
impl PartialEq<ReferencesError> for ReferencesError
source§fn eq(&self, other: &ReferencesError) -> bool
fn eq(&self, other: &ReferencesError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ReferencesError
impl StructuralEq for ReferencesError
impl StructuralPartialEq for ReferencesError
Auto Trait Implementations§
impl RefUnwindSafe for ReferencesError
impl Send for ReferencesError
impl Sync for ReferencesError
impl Unpin for ReferencesError
impl UnwindSafe for ReferencesError
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.