Function solana_sdk::account_info::next_account_infos[][src]

pub fn next_account_infos<'a, 'b>(
    iter: &mut Iter<'a, AccountInfo<'b>>,
    count: usize
) -> Result<&'a [AccountInfo<'b>], ProgramError> where
    'b: 'a, 

Return a slice of the next count AccountInfos or a NotEnoughAccountKeys error.