Enum cairo_lang_sierra::extensions::error::ExtensionError
source · pub enum ExtensionError {
TypeSpecialization {
type_id: GenericTypeId,
error: SpecializationError,
},
LibfuncSpecialization {
libfunc_id: GenericLibfuncId,
generic_args: Vec<GenericArg>,
error: SpecializationError,
},
NotImplemented,
}
Expand description
Extension related errors.
Variants§
Trait Implementations§
source§impl Debug for ExtensionError
impl Debug for ExtensionError
source§impl Display for ExtensionError
impl Display for ExtensionError
source§impl Error for ExtensionError
impl Error for ExtensionError
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 for ExtensionError
impl PartialEq for ExtensionError
source§fn eq(&self, other: &ExtensionError) -> bool
fn eq(&self, other: &ExtensionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ExtensionError
impl StructuralEq for ExtensionError
impl StructuralPartialEq for ExtensionError
Auto Trait Implementations§
impl RefUnwindSafe for ExtensionError
impl Send for ExtensionError
impl Sync for ExtensionError
impl Unpin for ExtensionError
impl UnwindSafe for ExtensionError
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.§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.