Enum seq_io::fastq::Error
[−]
[src]
pub enum Error { Io(Error), UnequalLengths { seq: usize, qual: usize, pos: ErrorPosition, }, InvalidStart { found: u8, pos: ErrorPosition, }, InvalidSep { found: u8, pos: ErrorPosition, }, UnexpectedEnd { pos: ErrorPosition, }, BufferLimit, }
Variants
Io(Error)
UnequalLengths
sequence and qualitiy lengths are not equal
Fields of UnequalLengths
seq: usize | Length of sequence |
qual: usize | Length of qualities |
pos: ErrorPosition | Position within file.
|
InvalidStart
Invalid start byte encountered (expected '@')
Fields of InvalidStart
found: u8 | Byte found instead. |
pos: ErrorPosition | Position within file. |
InvalidSep
Invalid separator byte encountered (expected '+')
Fields of InvalidSep
found: u8 | Byte found instead. |
pos: ErrorPosition | Position within file |
UnexpectedEnd
Truncated record found
Fields of UnexpectedEnd
pos: ErrorPosition | Position within file. |
BufferLimit
Size limit of buffer was reached, which happens if BufStrategy::new_size()
returned
None
(not the case by default).
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more