Enum noodles_vcf::header::contig::TryFromRecordError
source ·
[−]pub enum TryFromRecordError {
InvalidRecord,
InvalidKey(ParseError),
InvalidId,
InvalidLength(ParseIntError),
MissingField(Key),
InvalidIdx(ParseIntError),
}
Expand description
An error returned when a generic VCF header record fails to convert to a contig header record.
Variants
InvalidRecord
The record is invalid.
InvalidKey(ParseError)
A key is invalid.
InvalidId
The ID is invalid.
InvalidLength(ParseIntError)
Tuple Fields
The length is invalid.
MissingField(Key)
A required field is missing.
InvalidIdx(ParseIntError)
Tuple Fields
The index (IDX
) 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.