Enum noodles::sam::header::header::TryFromRecordError [−][src]
pub enum TryFromRecordError {
InvalidRecord,
MissingRequiredTag(Tag),
InvalidTag(ParseError),
InvalidVersion(ParseError),
InvalidSortOrder(ParseError),
InvalidGroupOrder(ParseError),
InvalidSubsortOrder(ParseError),
}
Expand description
An error returned when a raw SAM header header fails to parse.
Variants
The record is invalid.
MissingRequiredTag(Tag)
A required tag is missing.
Tuple Fields of MissingRequiredTag
0: Tag
InvalidTag(ParseError)
A tag is invalid.
Tuple Fields of InvalidTag
0: ParseError
InvalidVersion(ParseError)
The version is invalid.
Tuple Fields of InvalidVersion
0: ParseError
InvalidSortOrder(ParseError)
The sort order is invalid.
Tuple Fields of InvalidSortOrder
0: ParseError
InvalidGroupOrder(ParseError)
The group order is invalid.
Tuple Fields of InvalidGroupOrder
0: ParseError
InvalidSubsortOrder(ParseError)
The subsort order is invalid.
Tuple Fields of InvalidSubsortOrder
0: ParseError
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 TryFromRecordError
impl Send for TryFromRecordError
impl Sync for TryFromRecordError
impl Unpin for TryFromRecordError
impl UnwindSafe for TryFromRecordError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.