Enum noodles_vcf::record::EndError
source · pub enum EndError {
InvalidPosition(TryFromIntError),
InvalidInfoEndPositionFieldValue,
InvalidReferenceBasesLength(TryFromIntError),
PositionOverflow(usize, usize),
}
Expand description
An error returned when the end position is invalid.
Variants§
InvalidPosition(TryFromIntError)
The position is invalid.
InvalidInfoEndPositionFieldValue
The INFO end position (END
) field value type is invalid.
InvalidReferenceBasesLength(TryFromIntError)
The reference bases length is invalid (> i32::MAX
).
PositionOverflow(usize, usize)
The calculation of the end position overflowed.
Trait Implementations§
source§impl Error for EndError
impl Error for EndError
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 for EndError
impl PartialEq for EndError
impl Eq for EndError
impl StructuralEq for EndError
impl StructuralPartialEq for EndError
Auto Trait Implementations§
impl RefUnwindSafe for EndError
impl Send for EndError
impl Sync for EndError
impl Unpin for EndError
impl UnwindSafe for EndError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.