Trait solana_program_test::ProgramTestBanksClientExt[][src]

pub trait ProgramTestBanksClientExt {
    #[must_use]
    fn get_new_blockhash<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        blockhash: &'life1 Hash
    ) -> Pin<Box<dyn Future<Output = Result<(Hash, FeeCalculator)>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]
fn get_new_blockhash<'life0, 'life1, 'async_trait>(
    &'life0 mut self,
    blockhash: &'life1 Hash
) -> Pin<Box<dyn Future<Output = Result<(Hash, FeeCalculator)>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

Implementors

impl ProgramTestBanksClientExt for BanksClient[src]

fn get_new_blockhash<'life0, 'life1, 'async_trait>(
    &'life0 mut self,
    blockhash: &'life1 Hash
) -> Pin<Box<dyn Future<Output = Result<(Hash, FeeCalculator)>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

Get a new blockhash, similar in spirit to RpcClient::get_new_blockhash()

This probably should eventually be moved into BanksClient proper in some form