Enum noodles_vcf::record::info::field::value::ParseError [−][src]
pub enum ParseError {
InvalidNumberForType(Number, Type),
InvalidInteger(ParseIntError),
InvalidFloat(ParseFloatError),
InvalidFlag,
InvalidCharacter,
InvalidString(Utf8Error),
}
Expand description
An error returned when a raw VCF record info field value fails to parse.
Variants
InvalidNumberForType(Number, Type)
The field cardinality is invalid for the type.
InvalidInteger(ParseIntError)
Tuple Fields
The integer is invalid.
InvalidFloat(ParseFloatError)
Tuple Fields
The floating-point is invalid.
InvalidFlag
The flag is invalid.
InvalidCharacter
The character is invalid.
InvalidString(Utf8Error)
Tuple Fields
0: Utf8Error
The string 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 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.