pub struct Testnet4Client { /* private fields */ }Expand description
Testnet4 client wrapper
Implementations§
Source§impl Testnet4Client
impl Testnet4Client
Sourcepub fn new(config: Testnet4Config) -> Result<Self>
pub fn new(config: Testnet4Config) -> Result<Self>
Create a new Testnet4 client
Sourcepub fn client(&self) -> &BitcoinClient
pub fn client(&self) -> &BitcoinClient
Get the underlying Bitcoin client
Sourcepub fn is_available(&self) -> Result<bool>
pub fn is_available(&self) -> Result<bool>
Check if Testnet4 is available
Sourcepub fn get_faucet_info(&self) -> FaucetInfo
pub fn get_faucet_info(&self) -> FaucetInfo
Get Testnet4 faucet information
Auto Trait Implementations§
impl Freeze for Testnet4Client
impl RefUnwindSafe for Testnet4Client
impl Send for Testnet4Client
impl Sync for Testnet4Client
impl Unpin for Testnet4Client
impl UnwindSafe for Testnet4Client
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