pub enum AddressError {
InvalidHashcash(u8),
Reserved(Address),
}
Expand description
Error in Address
.
Variants§
InvalidHashcash(u8)
Expected the first byte of hashcash to be at most 0x10
, got this byte instead.
Reserved(Address)
This address is reserved.
Trait Implementations§
source§impl Debug for AddressError
impl Debug for AddressError
source§impl From<AddressError> for FromSliceAddressError
impl From<AddressError> for FromSliceAddressError
source§fn from(err: AddressError) -> Self
fn from(err: AddressError) -> Self
Converts to this type from the input type.
source§impl From<AddressError> for FromStrAddressError
impl From<AddressError> for FromStrAddressError
source§fn from(err: AddressError) -> Self
fn from(err: AddressError) -> Self
Converts to this type from the input type.
source§impl From<AddressError> for FromStrIdentityError
impl From<AddressError> for FromStrIdentityError
source§fn from(err: AddressError) -> Self
fn from(err: AddressError) -> Self
Converts to this type from the input type.
source§impl From<AddressError> for IdentityError
impl From<AddressError> for IdentityError
source§fn from(err: AddressError) -> Self
fn from(err: AddressError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AddressError
impl RefUnwindSafe for AddressError
impl Send for AddressError
impl Sync for AddressError
impl Unpin for AddressError
impl UnwindSafe for AddressError
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