Enum nostr_sdk::bitcoin::taproot::HiddenNodes
pub enum HiddenNodes {
HiddenParts(NodeInfo),
}
Expand description
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
HiddenParts(NodeInfo)
Indicates an attempt to construct a tap tree from a builder containing hidden parts.
Implementations§
§impl HiddenNodes
impl HiddenNodes
pub fn into_node_info(self) -> NodeInfo
pub fn into_node_info(self) -> NodeInfo
Converts error into the original incomplete NodeInfo
instance.
Trait Implementations§
§impl Clone for HiddenNodes
impl Clone for HiddenNodes
§fn clone(&self) -> HiddenNodes
fn clone(&self) -> HiddenNodes
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 HiddenNodes
impl Debug for HiddenNodes
§impl Display for HiddenNodes
impl Display for HiddenNodes
§impl Error for HiddenNodes
impl Error for HiddenNodes
§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 Hash for HiddenNodes
impl Hash for HiddenNodes
§impl Ord for HiddenNodes
impl Ord for HiddenNodes
§impl PartialEq<HiddenNodes> for HiddenNodes
impl PartialEq<HiddenNodes> for HiddenNodes
§fn eq(&self, other: &HiddenNodes) -> bool
fn eq(&self, other: &HiddenNodes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd<HiddenNodes> for HiddenNodes
impl PartialOrd<HiddenNodes> for HiddenNodes
§fn partial_cmp(&self, other: &HiddenNodes) -> Option<Ordering>
fn partial_cmp(&self, other: &HiddenNodes) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for HiddenNodes
impl StructuralEq for HiddenNodes
impl StructuralPartialEq for HiddenNodes
Auto Trait Implementations§
impl RefUnwindSafe for HiddenNodes
impl Send for HiddenNodes
impl Sync for HiddenNodes
impl Unpin for HiddenNodes
impl UnwindSafe for HiddenNodes
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.