Enum noodles_vcf::record::info::TryFromFieldsError
source · pub enum TryFromFieldsError {
DuplicateKey(Key),
}
Expand description
An error returned when VCF info fields fail to convert.
Variants§
DuplicateKey(Key)
A key is duplicated.
§ 1.6.1 Fixed fields (2021-01-13): “Duplicate keys are not allowed.”
Trait Implementations§
source§impl Clone for TryFromFieldsError
impl Clone for TryFromFieldsError
source§fn clone(&self) -> TryFromFieldsError
fn clone(&self) -> TryFromFieldsError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TryFromFieldsError
impl Debug for TryFromFieldsError
source§impl Display for TryFromFieldsError
impl Display for TryFromFieldsError
source§impl Error for TryFromFieldsError
impl Error for TryFromFieldsError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<TryFromFieldsError> for TryFromFieldsError
impl PartialEq<TryFromFieldsError> for TryFromFieldsError
source§fn eq(&self, other: &TryFromFieldsError) -> bool
fn eq(&self, other: &TryFromFieldsError) -> bool
impl Eq for TryFromFieldsError
impl StructuralEq for TryFromFieldsError
impl StructuralPartialEq for TryFromFieldsError
Auto Trait Implementations§
impl RefUnwindSafe for TryFromFieldsError
impl Send for TryFromFieldsError
impl Sync for TryFromFieldsError
impl Unpin for TryFromFieldsError
impl UnwindSafe for TryFromFieldsError
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.