#[non_exhaustive]pub enum CallLookupError {
InvalidNumberOfArguments(String),
}
Expand description
An error that can happen during call lookup
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.
Trait Implementations§
source§impl Clone for CallLookupError
impl Clone for CallLookupError
source§fn clone(&self) -> CallLookupError
fn clone(&self) -> CallLookupError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CallLookupError
impl Debug for CallLookupError
source§impl Display for CallLookupError
impl Display for CallLookupError
source§impl Error for CallLookupError
impl Error for CallLookupError
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 Hash for CallLookupError
impl Hash for CallLookupError
source§impl PartialEq<CallLookupError> for CallLookupError
impl PartialEq<CallLookupError> for CallLookupError
source§fn eq(&self, other: &CallLookupError) -> bool
fn eq(&self, other: &CallLookupError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CallLookupError
impl StructuralEq for CallLookupError
impl StructuralPartialEq for CallLookupError
Auto Trait Implementations§
impl RefUnwindSafe for CallLookupError
impl Send for CallLookupError
impl Sync for CallLookupError
impl Unpin for CallLookupError
impl UnwindSafe for CallLookupError
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