Function solana_sdk::keyed_account::next_keyed_account
source · pub fn next_keyed_account<'a, 'b, I: Iterator<Item = &'a KeyedAccount<'b>>>(
iter: &mut I
) -> Result<I::Item, InstructionError>
👎Deprecated since 1.7.0: Please use keyed_account_at_index instead
Expand description
Return the next KeyedAccount or a NotEnoughAccountKeys error