Enum noodles_sam::header::record::ParseError [−][src]
pub enum ParseError {
Invalid,
MissingKind,
InvalidKind(ParseError),
InvalidField,
InvalidTag,
InvalidValue,
DuplicateTag(String),
}
Expand description
An error returned when a raw SAM header record fails to parse.
Variants
The input is invalid.
The kind is missing.
InvalidKind(ParseError)
The kind is invalid.
Tuple Fields of InvalidKind
0: ParseError
A field is invalid.
A tag is invalid.
A value is invalid.
DuplicateTag(String)
A tag is duplicated.
Tuple Fields of DuplicateTag
0: String
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.