Enum rust_htslib::bam::ReadError []

pub enum ReadError {
    Truncated,
    Invalid,
    NoMoreRecord,
}

Variants

TruncatedInvalidNoMoreRecord

Methods

impl ReadError
[src]

fn is_eof(&self) -> bool

Returns true if no record has been read because the end of the file was reached.

Trait Implementations

impl Debug for ReadError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for ReadError

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for ReadError

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

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