Enum noodles_vcf::header::meta::TryFromRecordError
source ·
[−]pub enum TryFromRecordError {
InvalidRecord,
MissingField(Key),
InvalidId,
InvalidType,
InvalidNumber,
}
Expand description
An error returned when a generic VCF header record fails to convert to a meta header record.
Variants
InvalidRecord
The record is invalid.
MissingField(Key)
Tuple Fields
0: Key
A required field is missing.
InvalidId
The ID is invalid.
InvalidType
The number is invalid.
InvalidNumber
The type 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.