Enum sway_error::error::InterfaceName
source · pub enum InterfaceName {
Abi(Ident),
Trait(Ident),
}
Variants§
Trait Implementations§
source§impl Clone for InterfaceName
impl Clone for InterfaceName
source§fn clone(&self) -> InterfaceName
fn clone(&self) -> InterfaceName
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 InterfaceName
impl Debug for InterfaceName
source§impl Display for InterfaceName
impl Display for InterfaceName
source§impl Error for InterfaceName
impl Error for InterfaceName
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 InterfaceName
impl Hash for InterfaceName
source§impl PartialEq<InterfaceName> for InterfaceName
impl PartialEq<InterfaceName> for InterfaceName
source§fn eq(&self, other: &InterfaceName) -> bool
fn eq(&self, other: &InterfaceName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InterfaceName
impl StructuralEq for InterfaceName
impl StructuralPartialEq for InterfaceName
Auto Trait Implementations§
impl RefUnwindSafe for InterfaceName
impl Send for InterfaceName
impl Sync for InterfaceName
impl Unpin for InterfaceName
impl UnwindSafe for InterfaceName
Blanket Implementations§
§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