pub enum ParseErrorKind {
Io,
UnknownFormat,
InvalidStart,
InvalidSeparator,
UnequalLengths,
UnexpectedEnd,
EmptyFile,
}Expand description
The type of error that occurred during file parsing
Variants§
Io
An error happened during file/stream input/output
UnknownFormat
The file didn’t start with @ or > and we didn’t know what to expect yet
InvalidStart
Invalid start byte of record encountered (expected @ in FASTQ and > in FASTA)
InvalidSeparator
The separator line in a FASTQ file is not valid (no +)
UnequalLengths
Sequence and quality lengths are not equal (in a FASTQ file only)
UnexpectedEnd
Truncated record found
EmptyFile
The file appears to be empty
Trait Implementations§
Source§impl Clone for ParseErrorKind
impl Clone for ParseErrorKind
Source§fn clone(&self) -> ParseErrorKind
fn clone(&self) -> ParseErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParseErrorKind
impl Debug for ParseErrorKind
Source§impl PartialEq for ParseErrorKind
impl PartialEq for ParseErrorKind
impl Eq for ParseErrorKind
impl StructuralPartialEq for ParseErrorKind
Auto Trait Implementations§
impl Freeze for ParseErrorKind
impl RefUnwindSafe for ParseErrorKind
impl Send for ParseErrorKind
impl Sync for ParseErrorKind
impl Unpin for ParseErrorKind
impl UnsafeUnpin for ParseErrorKind
impl UnwindSafe for ParseErrorKind
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