Enum cfx_addr::EncodingError
source · pub enum EncodingError {
InvalidAddressType(u8),
InvalidLength(usize),
InvalidNetworkId(u64),
}
Expand description
Error concerning encoding of cfx_base32_addr.
Variants§
Trait Implementations§
source§impl Clone for EncodingError
impl Clone for EncodingError
source§fn clone(&self) -> EncodingError
fn clone(&self) -> EncodingError
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 EncodingError
impl Debug for EncodingError
source§impl Display for EncodingError
impl Display for EncodingError
source§impl Error for EncodingError
impl Error for EncodingError
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 EncodingError
impl PartialEq for EncodingError
source§fn eq(&self, other: &EncodingError) -> bool
fn eq(&self, other: &EncodingError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EncodingError
impl StructuralPartialEq for EncodingError
Auto Trait Implementations§
impl RefUnwindSafe for EncodingError
impl Send for EncodingError
impl Sync for EncodingError
impl Unpin for EncodingError
impl UnwindSafe for EncodingError
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