pub enum Network {
Mainnet,
Testnet,
Signet,
Regtest,
Local,
}Expand description
Networks supported by Spark.
Variants§
Mainnet
Main Bitcoin network (sp prefix).
Testnet
Bitcoin testnet (spt prefix).
Signet
Signet (sps prefix).
Regtest
Regression-test network (sprt prefix).
Local
Local development network (spl prefix).
Trait Implementations§
impl Copy for Network
impl Eq for Network
impl StructuralPartialEq for Network
Auto Trait Implementations§
impl Freeze for Network
impl RefUnwindSafe for Network
impl Send for Network
impl Sync for Network
impl Unpin for Network
impl UnsafeUnpin for Network
impl UnwindSafe for Network
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