Function solana_program::account_info::next_account_info[][src]

pub fn next_account_info<'a, 'b, I: Iterator<Item = &'a AccountInfo<'b>>>(
    iter: &mut I
) -> Result<I::Item, ProgramError>

Return the next AccountInfo or a NotEnoughAccountKeys error.