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

sequence and qualitiy lengths are not equal

Fields of UnequalLengths

Length of sequence

Length of qualities

Position within file. ErrorPosition::line has the position of the header, not sequence/qualities

Invalid start byte encountered (expected '@')

Fields of InvalidStart

Byte found instead.

Position within file. ErrorPosition::id will be None.

Invalid separator byte encountered (expected '+')

Fields of InvalidSep

Byte found instead.

Position within file

Truncated record found

Fields of UnexpectedEnd

Position within file.

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]

[src]

Formats the value using the given formatter.

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl StdError for Error
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more