Enum noodles_vcf::record::format::TryFromKeyVectorError [−][src]
pub enum TryFromKeyVectorError {
Empty,
InvalidGenotypeKeyPosition,
DuplicateKey(Key),
}
Expand description
An error returned when a vector of keys fails to convert to a format.
Variants
The input is empty.
The genotype key (GT
) position is invalid.
The genotype key must be first if present. See § 1.6.2 Genotype fields (2020-06-25).
DuplicateKey(Key)
A key is duplicated.
§ 1.6.2 Genotype fields (2021-01-13): “…duplicate keys are not allowed”.
Tuple Fields of DuplicateKey
0: Key
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 TryFromKeyVectorError
impl Send for TryFromKeyVectorError
impl Sync for TryFromKeyVectorError
impl Unpin for TryFromKeyVectorError
impl UnwindSafe for TryFromKeyVectorError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.