Enum ethers_rs::BytesErrors
source · pub enum BytesErrors {
BytesMOutOfRange,
FromHexError(FromHexError),
}Variants§
BytesMOutOfRange
FromHexError(FromHexError)
Trait Implementations§
source§impl Debug for BytesErrors
impl Debug for BytesErrors
source§impl Display for BytesErrors
impl Display for BytesErrors
source§impl Error for BytesErrors
impl Error for BytesErrors
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 From<FromHexError> for BytesErrors
impl From<FromHexError> for BytesErrors
source§fn from(source: FromHexError) -> BytesErrors
fn from(source: FromHexError) -> BytesErrors
Converts to this type from the input type.