[][src]Struct rust_htslib::bcf::Reader

pub struct Reader { /* fields omitted */ }

A VCF/BCF reader.

Methods

impl Reader[src]

pub fn from_path<P: AsRef<Path>>(path: P) -> Result<Self, BCFPathError>[src]

Create a new reader from a given path.

pub fn from_url(url: &Url) -> Result<Self, BCFError>[src]

Create a new reader from a given URL.

pub fn from_stdin() -> Result<Self, BCFError>[src]

Create a new reader from standard input.

Trait Implementations

impl Read for Reader[src]

fn empty_record(&self) -> Record[src]

Return empty record. Can be reused multiple times.

impl Drop for Reader[src]

impl Send for Reader[src]

impl Debug for Reader[src]

Auto Trait Implementations

impl !Sync for Reader

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]