#[non_exhaustive]pub enum XChainNet<T> {
BitcoinMainnet(T),
BitcoinTestnet3(T),
BitcoinTestnet4(T),
BitcoinSignet(T),
BitcoinSignetCustom(T),
BitcoinRegtest(T),
LiquidMainnet(T),
LiquidTestnet(T),
}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.
BitcoinMainnet(T)
BitcoinTestnet3(T)
BitcoinTestnet4(T)
BitcoinSignet(T)
BitcoinSignetCustom(T)
BitcoinRegtest(T)
LiquidMainnet(T)
LiquidTestnet(T)
Implementations§
Trait Implementations§
Source§impl Display for XChainNet<Beneficiary>
impl Display for XChainNet<Beneficiary>
Source§impl FromStr for XChainNet<Beneficiary>
impl FromStr for XChainNet<Beneficiary>
Source§impl<T: Ord> Ord for XChainNet<T>
impl<T: Ord> Ord for XChainNet<T>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialOrd> PartialOrd for XChainNet<T>
impl<T: PartialOrd> PartialOrd for XChainNet<T>
impl<T: Copy> Copy for XChainNet<T>
impl<T: Eq> Eq for XChainNet<T>
impl<T> StructuralPartialEq for XChainNet<T>
Auto Trait Implementations§
impl<T> Freeze for XChainNet<T>where
T: Freeze,
impl<T> RefUnwindSafe for XChainNet<T>where
T: RefUnwindSafe,
impl<T> Send for XChainNet<T>where
T: Send,
impl<T> Sync for XChainNet<T>where
T: Sync,
impl<T> Unpin for XChainNet<T>where
T: Unpin,
impl<T> UnsafeUnpin for XChainNet<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for XChainNet<T>where
T: UnwindSafe,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.