[][src]Function solana_sdk::account::next_keyed_account

pub fn next_keyed_account<'a, 'b, I: Iterator<Item = &'a KeyedAccount<'b>>>(
    iter: &mut I
) -> Result<I::Item, InstructionError>

Return the next KeyedAccount or a NotEnoughAccountKeys error