Enum noodles_vcf::header::sample::TryFromRecordError [−][src]
pub enum TryFromRecordError {
InvalidRecord,
MissingField(Key),
}
Expand description
An error returned when a generic VCF header record fails to convert to a sample header record.
Variants
The record is invalid.
MissingField(Key)
A required field is missing.
Tuple Fields of MissingField
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 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.