#[non_exhaustive]pub enum CryptoNetwork {
Bitcoin,
Ethereum,
Solana,
Polygon,
Base,
Bsc,
Arbitrum,
Optimism,
Other(String),
}Expand description
Crypto settlement network.
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.
Bitcoin
Bitcoin network.
Ethereum
Ethereum mainnet.
Solana
Solana.
Polygon
Polygon.
Base
Base.
Bsc
BNB Smart Chain.
Arbitrum
Arbitrum.
Optimism
Optimism.
Other(String)
Other crypto network.
Trait Implementations§
Source§impl Clone for CryptoNetwork
impl Clone for CryptoNetwork
Source§fn clone(&self) -> CryptoNetwork
fn clone(&self) -> CryptoNetwork
Returns a duplicate 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 CryptoNetwork
impl Debug for CryptoNetwork
Source§impl Hash for CryptoNetwork
impl Hash for CryptoNetwork
Source§impl PartialEq for CryptoNetwork
impl PartialEq for CryptoNetwork
impl Eq for CryptoNetwork
impl StructuralPartialEq for CryptoNetwork
Auto Trait Implementations§
impl Freeze for CryptoNetwork
impl RefUnwindSafe for CryptoNetwork
impl Send for CryptoNetwork
impl Sync for CryptoNetwork
impl Unpin for CryptoNetwork
impl UnsafeUnpin for CryptoNetwork
impl UnwindSafe for CryptoNetwork
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