pub struct Handle { /* private fields */ }
Implementations§
Source§impl Handle
impl Handle
pub fn url(&self) -> String
pub fn mine_blocks(&self, num: u64) -> Vec<Block>
pub fn broadcast_tx(&self, options: TransactionTemplate<'_>) -> Txid
pub fn invalidate_tip(&self) -> BlockHash
pub fn tx(&self, bi: usize, ti: usize) -> Transaction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Handle
impl !RefUnwindSafe for Handle
impl Send for Handle
impl Sync for Handle
impl Unpin for Handle
impl !UnwindSafe for Handle
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