Function anchor_lang::prelude::next_account_info
source · [−]pub fn next_account_info<'a, 'b, I>(
iter: &mut I
) -> Result<<I as Iterator>::Item, ProgramError> where
I: Iterator<Item = &'a AccountInfo<'b>>,
Expand description
Return the next AccountInfo
or a NotEnoughAccountKeys
error.