pub enum FastqFile {
Plain(FastqReader<File>),
Gzipped(FastqReader<MultiGzDecoder<File>>),
}Expand description
Auto-detecting FASTQ file reader.
Automatically selects plain or gzip reader based on file extension.
Files ending in .gz are treated as gzip-compressed.
Variants§
Plain(FastqReader<File>)
Plain text FASTQ file.
Gzipped(FastqReader<MultiGzDecoder<File>>)
Gzip-compressed FASTQ file.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for FastqFile
impl !UnwindSafe for FastqFile
impl Freeze for FastqFile
impl Send for FastqFile
impl Sync for FastqFile
impl Unpin for FastqFile
impl UnsafeUnpin for FastqFile
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more