pub struct FastqReader<R> { /* private fields */ }Expand description
Zero-copy streaming FASTQ parser.
Implementations§
Source§impl<R: Read> FastqReader<R>
impl<R: Read> FastqReader<R>
Sourcepub fn with_capacity(capacity: usize, reader: R) -> Self
pub fn with_capacity(capacity: usize, reader: R) -> Self
Creates a reader with specified buffer capacity.
Sourcepub fn next_event(&mut self) -> Option<Result<Event<'_>, ReaderError>>
pub fn next_event(&mut self) -> Option<Result<Event<'_>, ReaderError>>
Returns the next event, or None at EOF.
Auto Trait Implementations§
impl<R> Freeze for FastqReader<R>where
R: Freeze,
impl<R> RefUnwindSafe for FastqReader<R>where
R: RefUnwindSafe,
impl<R> Send for FastqReader<R>where
R: Send,
impl<R> Sync for FastqReader<R>where
R: Sync,
impl<R> Unpin for FastqReader<R>where
R: Unpin,
impl<R> UnwindSafe for FastqReader<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