[−][src]Struct rust_htslib::bcf::Reader
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 read(&mut self, record: &mut Record) -> Result<(), ReadError>
[src]
ⓘImportant traits for Records<'a, R>fn records(&mut self) -> Records<Self>
[src]
ⓘImportant traits for Records<'a, R>
fn set_threads(&mut self, n_threads: usize) -> Result<(), ThreadingError>
[src]
fn header(&self) -> &HeaderView
[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
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,