pub enum Network {
Bitcoin,
Testnet,
Signet,
Regtest,
}
Expand description
Which network should we use
Use this to select one of the supported networks. They are either Bitcoin mainnet or some form of test network, like testnet or regtest. The default is Bitcoin mainnet.
Variants§
Trait Implementations§
impl Copy for Network
Auto Trait Implementations§
impl RefUnwindSafe for Network
impl Send for Network
impl Sync for Network
impl Unpin 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