Struct bitcoin::address::UnknownHrpError
source · pub struct UnknownHrpError(pub String);
Expand description
Unknown HRP error.
Tuple Fields§
§0: String
Trait Implementations§
source§impl Clone for UnknownHrpError
impl Clone for UnknownHrpError
source§fn clone(&self) -> UnknownHrpError
fn clone(&self) -> UnknownHrpError
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 UnknownHrpError
impl Debug for UnknownHrpError
source§impl Display for UnknownHrpError
impl Display for UnknownHrpError
source§impl Error for UnknownHrpError
impl Error for UnknownHrpError
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<UnknownHrpError> for ParseError
impl From<UnknownHrpError> for ParseError
source§fn from(e: UnknownHrpError) -> Self
fn from(e: UnknownHrpError) -> Self
Converts to this type from the input type.
source§impl PartialEq<UnknownHrpError> for UnknownHrpError
impl PartialEq<UnknownHrpError> for UnknownHrpError
source§fn eq(&self, other: &UnknownHrpError) -> bool
fn eq(&self, other: &UnknownHrpError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UnknownHrpError
impl StructuralEq for UnknownHrpError
impl StructuralPartialEq for UnknownHrpError
Auto Trait Implementations§
impl RefUnwindSafe for UnknownHrpError
impl Send for UnknownHrpError
impl Sync for UnknownHrpError
impl Unpin for UnknownHrpError
impl UnwindSafe for UnknownHrpError
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