Type Definition gimli::PubNamesEntryIter [] [src]

type PubNamesEntryIter<'input, Endian> = LookupEntryIter<'input, Endian, PubStuffParser<'input, Endian, NamesSwitch<'input, Endian>>>;

An iterator over the pubnames from a .debug_pubnames section.

Provides:

  • next(self: &mut) -> gimli::Result<Option<PubNamesEntry>>

    Advance the iterator and return the next pubname.

    Returns the newly parsed pubname as Ok(Some(pubname)). Returns Ok(None) when iteration is complete and all pubnames have already been parsed and yielded. If an error occurs while parsing the next pubname, then this error is returned on all subsequent calls as Err(e).

    Can be used with FallibleIterator.