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