pub struct IndexedReader<R> { /* private fields */ }
Expand description
An indexed CRAM reader.
Implementations§
Source§impl<R> IndexedReader<R>where
R: Read,
impl<R> IndexedReader<R>where
R: Read,
Sourcepub fn into_inner(self) -> R
pub fn into_inner(self) -> R
Unwraps and returns the underlying reader.
Sourcepub fn reference_sequence_repository(&self) -> &Repository
pub fn reference_sequence_repository(&self) -> &Repository
Returns the reference sequence repository.
Sourcepub fn read_file_definition(&mut self) -> Result<FileDefinition>
pub fn read_file_definition(&mut self) -> Result<FileDefinition>
Reads the CRAM file definition.
Sourcepub fn read_file_header(&mut self) -> Result<Header>
pub fn read_file_header(&mut self) -> Result<Header>
Reads the SAM header.
Sourcepub fn read_header(&mut self) -> Result<Header>
pub fn read_header(&mut self) -> Result<Header>
Reads the SAM header.
Sourcepub fn read_data_container(&mut self) -> Result<Option<DataContainer>>
pub fn read_data_container(&mut self) -> Result<Option<DataContainer>>
Reads a data container.
Auto Trait Implementations§
impl<R> Freeze for IndexedReader<R>where
R: Freeze,
impl<R> RefUnwindSafe for IndexedReader<R>where
R: RefUnwindSafe,
impl<R> Send for IndexedReader<R>where
R: Send,
impl<R> Sync for IndexedReader<R>where
R: Sync,
impl<R> Unpin for IndexedReader<R>where
R: Unpin,
impl<R> UnwindSafe for IndexedReader<R>where
R: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more