pub trait Read<R> {
// Required methods
fn read_variant_header(&mut self) -> Result<Header>;
fn variant_records<'r, 'h: 'r>(
&'r mut self,
header: &'h Header,
) -> Box<dyn Iterator<Item = Result<Box<dyn Record>>> + 'r>;
}
Expand description
A variant format reader.
Required Methods§
Sourcefn read_variant_header(&mut self) -> Result<Header>
fn read_variant_header(&mut self) -> Result<Header>
Reads a VCF header.