[][src]Enum seq_io::fastq::Error

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,
}

FASTQ parsing error

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. ErrorPosition::line has the position of the header, not sequence/qualities

InvalidStart

Invalid start byte encountered (expected @)

Fields of InvalidStart

found: u8

Byte found instead.

pos: ErrorPosition

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

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 policy::BufPolicy::grow_to() returned None. This does not happen with the default struct.DoubleUntil.html policy.

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error[src]

impl From<Error> for Error[src]

Auto Trait Implementations

impl !RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl !UnwindSafe for Error

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.