Enum noodles::sam::header::ParseError [−][src]
pub enum ParseError {
UnexpectedHeader,
InvalidRecord(ParseError),
InvalidHeader(TryFromRecordError),
InvalidReferenceSequence(TryFromRecordError),
DuplicateReferenceSequenceName(String),
InvalidReadGroup(TryFromRecordError),
DuplicateReadGroupId(String),
InvalidProgram(TryFromRecordError),
DuplicateProgramId(String),
InvalidComment,
}
Expand description
An error returned when a raw SAM header fails to parse.
Variants
A header record is not on the first line.
InvalidRecord(ParseError)
The record is invalid.
Tuple Fields of InvalidRecord
0: ParseError
InvalidHeader(TryFromRecordError)
A header record is invalid.
Tuple Fields of InvalidHeader
InvalidReferenceSequence(TryFromRecordError)
A reference sequence record is invalid.
Tuple Fields of InvalidReferenceSequence
DuplicateReferenceSequenceName(String)
A reference sequence name is duplicated.
Tuple Fields of DuplicateReferenceSequenceName
0: String
InvalidReadGroup(TryFromRecordError)
A read group record is invalid.
Tuple Fields of InvalidReadGroup
DuplicateReadGroupId(String)
A read group ID is duplicated.
Tuple Fields of DuplicateReadGroupId
0: String
InvalidProgram(TryFromRecordError)
A program record is invalid.
Tuple Fields of InvalidProgram
DuplicateProgramId(String)
A program ID is duplicated.
Tuple Fields of DuplicateProgramId
0: String
A comment record is invalid.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.