Struct bitcoin::network::constants::UnknownChainHash
source · pub struct UnknownChainHash(/* private fields */);
Expand description
Error in parsing network from chain hash.
Trait Implementations§
source§impl Clone for UnknownChainHash
impl Clone for UnknownChainHash
source§fn clone(&self) -> UnknownChainHash
fn clone(&self) -> UnknownChainHash
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 UnknownChainHash
impl Debug for UnknownChainHash
source§impl Display for UnknownChainHash
impl Display for UnknownChainHash
source§impl Error for UnknownChainHash
Available on crate feature std
only.
impl Error for UnknownChainHash
Available on crate feature
std
only.1.30.0 · 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 PartialEq for UnknownChainHash
impl PartialEq for UnknownChainHash
source§fn eq(&self, other: &UnknownChainHash) -> bool
fn eq(&self, other: &UnknownChainHash) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UnknownChainHash
impl StructuralEq for UnknownChainHash
impl StructuralPartialEq for UnknownChainHash
Auto Trait Implementations§
impl RefUnwindSafe for UnknownChainHash
impl Send for UnknownChainHash
impl Sync for UnknownChainHash
impl Unpin for UnknownChainHash
impl UnwindSafe for UnknownChainHash
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