#[repr(u32)]pub enum ErrorCode {
GenericError = 0,
}
Expand description
Auto-generated discriminant enum variants
Variants§
GenericError = 0
Implementations§
Trait Implementations§
Source§impl AsRef<str> for HardhatUpstreamCode
impl AsRef<str> for HardhatUpstreamCode
Source§impl Clone for HardhatUpstreamCode
impl Clone for HardhatUpstreamCode
Source§fn clone(&self) -> HardhatUpstreamCode
fn clone(&self) -> HardhatUpstreamCode
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 HardhatUpstreamCode
impl Debug for HardhatUpstreamCode
Source§impl<'_enum> From<&'_enum HardhatUpstream> for HardhatUpstreamCode
impl<'_enum> From<&'_enum HardhatUpstream> for HardhatUpstreamCode
Source§fn from(val: &'_enum HardhatUpstream) -> HardhatUpstreamCode
fn from(val: &'_enum HardhatUpstream) -> HardhatUpstreamCode
Converts to this type from the input type.
Source§impl From<HardhatUpstream> for HardhatUpstreamCode
impl From<HardhatUpstream> for HardhatUpstreamCode
Source§fn from(val: HardhatUpstream) -> HardhatUpstreamCode
fn from(val: HardhatUpstream) -> HardhatUpstreamCode
Converts to this type from the input type.
Source§impl NamedError for HardhatUpstreamCode
impl NamedError for HardhatUpstreamCode
fn get_error_name(&self) -> String
Source§impl PartialEq for HardhatUpstreamCode
impl PartialEq for HardhatUpstreamCode
impl Copy for HardhatUpstreamCode
impl Eq for HardhatUpstreamCode
impl StructuralPartialEq for HardhatUpstreamCode
Auto Trait Implementations§
impl Freeze for HardhatUpstreamCode
impl RefUnwindSafe for HardhatUpstreamCode
impl Send for HardhatUpstreamCode
impl Sync for HardhatUpstreamCode
impl Unpin for HardhatUpstreamCode
impl UnwindSafe for HardhatUpstreamCode
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