Trait gimli::read::lookup::LookupParser
source · pub trait LookupParser<R: Reader> {
type Header;
type Entry;
// Required methods
fn parse_header(input: &mut R) -> Result<(R, Self::Header)>;
fn parse_entry(
input: &mut R,
header: &Self::Header,
) -> Result<Option<Self::Entry>>;
}
Required Associated Types§
Required Methods§
sourcefn parse_header(input: &mut R) -> Result<(R, Self::Header)>
fn parse_header(input: &mut R) -> Result<(R, Self::Header)>
Parse a header from input
. Returns a tuple of input
sliced to contain just the entries
corresponding to this header (without the header itself), and the parsed representation of
the header itself.
Object Safety§
This trait is not object safe.