pub struct BitcoinNodeManager {
pub rpc_port: u16,
/* private fields */
}Expand description
Implementation of the Bitcoin node manager
Fields§
§rpc_port: u16Implementations§
Source§impl BitcoinNodeManager
impl BitcoinNodeManager
pub fn new() -> Result<Self>
pub fn new_with_config(config: &TestConfig) -> Result<Self>
pub fn rpc_port(&self) -> u16
Trait Implementations§
Source§impl Debug for BitcoinNodeManager
impl Debug for BitcoinNodeManager
Source§impl Default for BitcoinNodeManager
impl Default for BitcoinNodeManager
Source§impl Drop for BitcoinNodeManager
impl Drop for BitcoinNodeManager
Source§impl NodeManager for BitcoinNodeManager
impl NodeManager for BitcoinNodeManager
fn start<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn stop<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_state<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<NodeState>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for BitcoinNodeManager
impl !RefUnwindSafe for BitcoinNodeManager
impl Send for BitcoinNodeManager
impl Sync for BitcoinNodeManager
impl Unpin for BitcoinNodeManager
impl !UnwindSafe for BitcoinNodeManager
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