Struct nostr_sdk::bitcoin::network::constants::UnknownChainHash
pub struct UnknownChainHash(_);Expand description
Error in parsing network from chain hash.
Trait Implementations§
§impl Clone for UnknownChainHash
impl Clone for UnknownChainHash
§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 more§impl Debug for UnknownChainHash
impl Debug for UnknownChainHash
§impl Display for UnknownChainHash
impl Display for UnknownChainHash
§impl Error for UnknownChainHash
impl Error for UnknownChainHash
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()
§impl PartialEq<UnknownChainHash> for UnknownChainHash
impl PartialEq<UnknownChainHash> for UnknownChainHash
§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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.