pub trait Info {
// Required methods
fn is_empty(&self) -> bool;
fn len(&self) -> usize;
fn get<'a, 'h: 'a>(
&'a self,
header: &'h Header,
key: &str,
) -> Option<Result<Option<Value<'a>>>>;
fn iter<'a, 'h: 'a>(
&'a self,
header: &'h Header,
) -> Box<dyn Iterator<Item = Result<(&'a str, Option<Value<'a>>)>> + 'a>;
}
Expand description
Variant record info fields.