Enum noodles_sam::header::program::TryFromRecordError [−][src]
pub enum TryFromRecordError {
InvalidRecord,
MissingRequiredTag(Tag),
InvalidTag(ParseError),
}
Expand description
An error returned when a raw SAM header program fails to parse.
Variants
InvalidRecord
The record is invalid.
MissingRequiredTag(Tag)
Tuple Fields
0: Tag
A required tag is missing.
InvalidTag(ParseError)
Tuple Fields
0: ParseError
A tag 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 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.